/* Optimus11 — Financial calculators */
.calc-hero {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding: 50px 0 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.calc-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(255, 193, 7, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.calc-hero h1 {
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.calc-hero p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 560px;
}

.calc-breadcrumb {
    margin-bottom: 20px;
}

.calc-breadcrumb a {
    color: #ffc107;
}

.calc-shell {
    margin-top: -30px;
    padding-bottom: 60px;
}

.calc-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.calc-card-header {
    padding: 24px 30px;
    color: #fff;
    display: flex;
    align-items: center;
    margin-top: 29px;
    gap: 16px;
}

.calc-card-header .calc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.calc-card-body {
    padding: 30px;
}

.calc-slider-group {
    margin-bottom: 28px;
}

.calc-slider-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.calc-slider-group .calc-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0056b3;
}

.calc-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    outline: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107, #f59e0b);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
    border: 3px solid #fff;
}

.calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107, #f59e0b);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
    border: 3px solid #fff;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 575px) {
    .calc-results {
        grid-template-columns: 1fr;
    }
}

.calc-result-box {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    calc-card-header transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.calc-result-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 86, 179, 0.1);
}

.calc-result-box.highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: #fff;
    border: none;
}

.calc-result-box.highlight .calc-result-label {
    color: rgba(255, 255, 255, 0.85);
}

.calc-result-box.highlight .calc-result-value {
    color: #ffc107;
    font-size: 2.2rem;
}

.calc-result-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}

.calc-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.calc-schedule-wrap {
    margin-top: 30px;
    max-height: 400px;
    overflow: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.calc-schedule-wrap table {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.calc-schedule-wrap thead {
    background: #0056b3;
    color: #fff;
    position: sticky;
    top: 0;
}

.calc-hub-section {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.calc-hub-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.calc-hub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 86, 179, 0.15);
    border-color: rgba(255, 193, 7, 0.5);
}

.calc-hub-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.calc-hub-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.calc-hub-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.calc-hub-link {
    color: #0056b3;
    font-weight: 700;
    font-size: 0.9rem;
}

.calc-form-panel .form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
}

.calc-form-panel .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.calc-btn-calc {
    background: linear-gradient(135deg, #ffc107, #f59e0b);
    border: none;
    color: #111;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    transition: transform 0.2s;
}

.calc-btn-calc:hover {
    transform: scale(1.03);
    color: #111;
}

.calc-eligibility-result {
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
    border-radius: 16px;
    padding: 24px;
    border-left: 5px solid #22c55e;
    min-height: 120px;
}

.calc-eligibility-result.not-eligible {
    background: linear-gradient(145deg, #fef2f2, #fee2e2);
    border-left-color: #ef4444;
}

.calc-hero {
    position: relative;
    z-index: 1;
}

.footer-calc-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
