/* ==========================================================================
   Financial Calculators & Tools Design System — One Source Financial Services
   ========================================================================== */

/* Calculators Hub Grid Cards */
.calc-card {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}
.calc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(2, 36, 35, 0.12) !important;
    border-color: #1D8B8A;
}
.calc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #E0F2F1;
    color: #1D8B8A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.calc-title {
    font-size: 18px;
    font-weight: 700;
    color: #022423;
    margin-bottom: 8px;
}
.calc-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 18px;
}
.theme-btn-teal {
    background: linear-gradient(135deg, #022423, #1D8B8A);
    color: #ffffff !important;
    border: none;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.theme-btn-teal:hover {
    background: linear-gradient(135deg, #1D8B8A, #022423);
    box-shadow: 0 4px 12px rgba(29, 139, 138, 0.3);
}

/* Calculator Header Banner */
.calc-header-box {
    background: linear-gradient(135deg, #022423, #1D8B8A);
    color: #ffffff;
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 24px;
}
.calc-header-box h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.calc-header-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 0;
}

/* Result Summary Cards */
.result-card {
    background: #022423;
    color: #ffffff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}
.result-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, 0.6);
}
.result-val {
    font-size: 20px;
    font-weight: 700;
    color: #FFB74D;
    margin-top: 4px;
}

/* Input Cards & Form Controls */
.input-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
}
.input-group-custom {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}
.input-label {
    font-size: 13px;
    font-weight: 700;
    color: #022423;
    margin-bottom: 4px;
}
.form-control,
.form-select {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-weight: 600;
    color: #022423;
}
.form-control:focus,
.form-select:focus {
    border-color: #1D8B8A;
    box-shadow: 0 0 0 3px rgba(29, 139, 138, 0.15);
}
.form-range::-webkit-slider-thumb {
    background: #1D8B8A;
}

/* Educational Explanations Copy */
.copy-card {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
}
.copy-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #022423;
    margin-bottom: 10px;
}

/* FIRE Retirement Specialty Cards */
.fire-box {
    background: #E0F2F1;
    border-left: 4px solid #1D8B8A;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}
.fire-title {
    font-size: 14px;
    font-weight: 700;
    color: #022423;
}
.fire-desc {
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}
.fire-val {
    font-size: 18px;
    font-weight: 700;
    color: #1D8B8A;
}

/* Cost of Delay Loss Box */
.delay-loss-box {
    background: #FEF0E4;
    border-left: 4px solid #E8720C;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.delay-loss-title {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #C5600A;
    letter-spacing: .05em;
}
.delay-loss-val {
    font-size: 26px;
    font-weight: 800;
    color: #DC2626;
    margin-top: 6px;
}
