﻿/* 1. Progress Step Indicator */
/*.step-indicator {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 10px;
    border: 1px solid #dee2e6;
}

.step {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

    .step.active {
        color: #1a3a5f;*/ /* Your brand blue */
    /*}

        .step.active::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 25%;
            width: 50%;
            height: 3px;
            background: #1a3a5f;
            border-radius: 2px;
        }*/

/* 2. Interactive Input Cards */
/*.card {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-label {
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control-lg {
    border-radius: 12px;
    border: 2px solid #eee;
}

    .form-control-lg:focus {
        border-color: #1a3a5f;
        box-shadow: none;
    }*/

/* 3. Result Sidebar (Dashboard Style) */
/*.sticky-top {
    z-index: 100;
}

.card.bg-dark {
    background: #121212 !important;
    border-radius: 20px;
}

.result-value {
    letter-spacing: -1px;
}

.text-success {
    color: #2ecc71 !important;
}

.text-info {
    color: #3498db !important;
}*/

/* 4. Custom Range Slider */
/*.form-range::-webkit-slider-thumb {
    background: #1a3a5f;
}

.form-range::-moz-range-thumb {
    background: #1a3a5f;
}*/

/* 5. Animations for Step Content */
/*.step-content {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* 6. Mobile Layout Tweaks */
/*@media (max-width: 991px) {
    .sticky-top {
        position: relative !important;
        top: 0 !important;
        margin-top: 20px;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}*/

.tool-shell {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px 40px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2937;
}

.tool-header {
    text-align: center;
    margin-bottom: 28px;
}

    .tool-header .eyebrow {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #2563eb;
        margin-bottom: 8px;
    }

    .tool-header h1 {
        font-size: 34px;
        line-height: 1.15;
        margin: 0 0 12px;
        color: #0f172a;
    }

    .tool-header p {
        max-width: 760px;
        margin: 0 auto;
        color: #64748b;
        font-size: 17px;
    }

.tool-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: start;
}

.panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.panel-input {
    padding: 22px;
    position: sticky;
    top: 20px;
}

.panel-output {
    padding: 22px;
}

.panel h2 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #0f172a;
}

.field {
    margin-bottom: 16px;
}

    .field label {
        display: block;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #111827;
    }

    .field small {
        display: block;
        margin-bottom: 8px;
        color: #6b7280;
        line-height: 1.4;
    }

    .field input {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #d1d5db;
        border-radius: 12px;
        font-size: 15px;
        background: #fff;
    }

        .field input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
        }

.hero-result {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 18px;
}

.hero-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 8px;
}

.hero-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

    .hero-value.positive {
        color: #15803d;
    }

    .hero-value.negative {
        color: #b91c1c;
    }

.hero-sub {
    color: #64748b;
    font-size: 14px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.mini-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.mini-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.mini-value {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 6px;
}

.mini-note {
    font-size: 13px;
    color: #6b7280;
}

.explain-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    background: #fafafa;
    margin-bottom: 18px;
}

    .explain-box h3 {
        margin: 0 0 10px;
        font-size: 18px;
    }

    .explain-box ul {
        margin: 0;
        padding-left: 18px;
        color: #4b5563;
        line-height: 1.6;
    }

.insight {
    border-radius: 16px;
    padding: 16px 18px;
    line-height: 1.6;
    margin-top: 14px;
    font-size: 14px;
}

    .insight.success {
        background: #ecfdf5;
        border: 1px solid #bbf7d0;
        color: #166534;
    }

    .insight.neutral {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #334155;
    }

@media (max-width: 900px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

    .panel-input {
        position: static;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }

    .tool-header h1 {
        font-size: 28px;
    }

    .hero-value {
        font-size: 34px;
    }
}
.comparison-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 18px 0;
}

.compare-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
}

    .compare-card h3 {
        margin-bottom: 12px;
        font-size: 1rem;
    }

.compare-row,
.compare-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.compare-total {
    border-bottom: none;
    margin-top: 8px;
    font-weight: 700;
}

    .compare-total.positive strong {
        color: #15803d;
    }

    .compare-total.negative strong {
        color: #b91c1c;
    }

.aha-box {
    margin: 18px 0;
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.checkbox-field input[type="checkbox"] {
    margin-right: 8px;
}

@media (max-width: 900px) {
    .comparison-shell {
        grid-template-columns: 1fr;
    }
}
/* Color-coding the Comparison Cards */
.compare-card.wallet {
    border-top: 4px solid #10b981; /* Green for Cash */
}

.compare-card.tax {
    border-top: 4px solid #3b82f6; /* Blue for Tax/IRS */
}

/* Tax Savings Highlight */
.tax-savings-badge {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 13px;
    margin-top: 8px;
}

/* Styling for the Auto-calculate Land Value Hint */
.field .hint-action {
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}
.detail-box {
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

    .detail-box summary {
        cursor: pointer;
        padding: 14px 16px;
        font-weight: 600;
        list-style: none;
    }

        .detail-box summary::-webkit-details-marker {
            display: none;
        }

    .detail-box[open] summary {
        border-bottom: 1px solid #e5e7eb;
    }

.detail-body {
    padding: 14px 16px;
}

    .detail-body .insight {
        margin-top: 10px;
    }