:root {
    --card-radius: 16px;
}

body.container {
    padding-top: 28px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%);
}

/* Header */
.calc-hero {
    /* background: radial-gradient(circle at 20% 0%, #71288c6c, transparent 45%),
        radial-gradient(circle at 80% 0%, #71288c6c, transparent 45%),
        #ffffff; */
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--card-radius);
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
    margin-bottom: 18px;
}

.calc-title {
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: .25rem;
}

.calc-subtitle {
    color: #6c757d;
    margin-bottom: 0;
}

/* Sections */
.calc-section {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.calc-section .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, .12);
}

.calc-section h2,
.calc-section h3,
.calc-section h4 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.01em;
}

/* Inputs */
.form-label {
    font-weight: 700;
    color: #343a40;
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: rgba(0, 0, 0, .12);
    padding: .70rem .85rem;
    box-shadow: none !important;
    transition: transform .08s ease, border-color .15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(25, 135, 84, .55);
    outline: none;
    transform: translateY(-1px);
}

.form-control[readonly] {
    background: #f3f6fb;
    opacity: 1;
}

/* Tooltip icon */
img[data-bs-toggle="tooltip"] {
    cursor: help;
    margin-left: 6px;
    opacity: .85;
    transition: opacity .15s ease, transform .15s ease;
}

img[data-bs-toggle="tooltip"]:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Button */
#btnCalcular {
    width: 100%;
    border-radius: 14px;
    padding: .95rem 1rem;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(25, 135, 84, .22);
    margin-top: 18px;
}

/* Result cards */
/* [data-calculator="results"] {
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
            border: 1px solid rgba(0, 0, 0, .06);
            border-radius: var(--card-radius);
            padding: 16px 16px 14px;
            box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
            height: 100%;
        } */

[data-calculator="results"] p {
    margin-bottom: .35rem;
    color: #6c757d;
    font-weight: 800;
}

#lblliquido,
#lbltotal_haberes,
#lbltotal_descuentos {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

/* #lblliquido {
    color: #198754;
    font-size: 1.65rem;
} */

/* Details */
.calc-details {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--card-radius);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.detail-col {
    grid-column: span 12;
}

@media (min-width: 992px) {
    .detail-col {
        grid-column: span 4;
    }
}

.detail-card {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 10px;
    background: #fbfcfe;
    height: 100%;
}

.detail-card p {
    margin: 0 0 6px;
    color: #6c757d;
    font-weight: 800;
}

.detail-card div {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.calc-btnCalcular{
    background-color: #ff5700;
    color: #fff;
}

.calc-btnCalcular:active, .calc-btnCalcular:focus, .calc-btnCalcular:focus-visible, .calc-btnCalcular:hover {
    background-color: #ff5500 !important;
    color: #fff !important;
}

/* Small helpers */
/* .muted-chip {
    font-size: .85rem;
    font-weight: 800;
    color: #6c757d;
} */