/* ============================================
   BOAT LOAN CALCULATOR - CLEAN WHITE (V1)
   ============================================ */
.calc-section {
    padding: 3rem 2rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.calc-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.calc-section-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.calc-section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.calc-section-header p {
    font-size: 0.95rem;
    color: #94a3b8;
}

.calc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.calc-card .calc-inputs {
    padding: 2.25rem;
    border-right: 1px solid #e2e8f0;
}
.calc-card .calc-outputs {
    padding: 2.25rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}
.calc-card .calc-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.75rem;
}
.calc-card .calc-field {
    margin-bottom: 1.5rem;
}
.calc-card .calc-field:last-child {
    margin-bottom: 0;
}
.calc-card .calc-field label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}
.calc-card .calc-field label .calc-val {
    color: #0284c7;
    font-weight: 700;
    font-size: 1rem;
}
.calc-card .calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.3rem;
}
.calc-card input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
}
.calc-card input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0284c7;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.15s;
}
.calc-card input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.calc-card input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0284c7;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
}
.calc-card .calc-toggle-row {
    display: flex;
    gap: 0.5rem;
}
.calc-card .calc-toggle-btn {
    flex: 1;
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.calc-card .calc-toggle-btn.active {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}
.calc-card .calc-toggle-btn:hover:not(.active) {
    background: #e2e8f0;
    color: #334155;
}

/* Output side */
.calc-card .calc-primary-result {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    margin-bottom: 1.25rem;
}
.calc-card .calc-primary-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.calc-card .calc-primary-value {
    font-size: 3rem;
    font-weight: 800;
    color: #0284c7;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.calc-card .calc-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.calc-card .calc-stat-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}
.calc-card .calc-stat-label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}
.calc-card .calc-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}
.calc-card .calc-cta-btn {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: #0284c7;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    margin-top: auto;
}
.calc-card .calc-cta-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2,132,199,0.3);
}
.calc-card .calc-cta-sub {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
    .calc-card {
        grid-template-columns: 1fr;
    }
    .calc-card .calc-inputs {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .calc-card .calc-stats-row {
        grid-template-columns: 1fr;
    }
    .calc-section {
        padding: 2rem 1rem;
    }
}