/* Bilt Calculator Styles */
:root {
    --pointistry-blue: #4285f4;
    --pointistry-blue-dark: #3367d6;
    --bilt-blue: #0066cc;
    --bilt-obsidian: #1a1a2e;
    --bilt-palladium: #8b7355;
    --success: #22c55e;
    --warning: #f59e0b;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--pointistry-blue);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.navbar-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.navbar-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
}

.nav-link.active {
    background: rgba(255,255,255,0.2);
}

.nav-link.discord-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
}

.nav-link.discord-link:hover {
    background: rgba(255,255,255,0.25);
}

.discord-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .navbar-tagline {
        display: none;
    }
    .navbar-nav .nav-link.active {
        display: none;
    }
    .navbar-nav .discord-link {
        display: flex;
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

header {
    text-align: center;
    margin-bottom: 32px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

h1.main-title {
    font-size: 2.25rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    h1.main-title {
        font-size: 1.75rem;
    }
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Input Section - Full Width on Top */
/* Wrap inputs in same card styling as results to match widths */
.inputs-section {
    margin-bottom: 32px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

/* Remove border from nested input cards since they're inside a card wrapper now */
.inputs-section .card {
    border: none;
    padding: 16px;
    background: var(--bg);
    border-radius: 8px;
    min-width: 0; /* Prevent overflow */
}

.inputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Match breakpoints with results grid for consistent layout */
@media (max-width: 1024px) {
    .inputs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .inputs-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: none;
    border: 1px solid var(--border);
}

.card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--text);
}

.input-group input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--pointistry-blue);
}

.input-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.75rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: var(--pointistry-blue);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text);
}

/* Results Section */
.results-section {
    margin-top: 0;
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.toggle-switch {
    display: flex;
    background: var(--border);
    border-radius: 8px;
    padding: 4px;
}

.toggle-option {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.toggle-option.active {
    background: var(--pointistry-blue);
    color: white;
}

.toggle-option:hover:not(.active) {
    background: rgba(0,0,0,0.05);
}

/* Results Grid - 3 columns (cards) x 2 rows (paths) */
.results-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .results-paths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .results-paths-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.path-row {
    display: contents;
}

.path-row-header {
    grid-column: 1 / -1;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bilt-blue);
    margin-top: 8px;
}

.path-row-header:first-child {
    margin-top: 0;
}

.path-row-header.cash-path {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

/* Legacy support - keeping for potential fallback */
.path-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.path-column-header {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bilt-blue);
}

.path-column-header.cash-path {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

/* Card option cells in grid */
.card-option {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.card-option.best {
    border-color: var(--success);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.card-option h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dot.blue { background: var(--bilt-blue); }
.card-dot.obsidian { background: var(--bilt-obsidian); }
.card-dot.palladium { background: var(--bilt-palladium); }

.annual-fee {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.net-value {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    margin-bottom: 10px;
}

.net-value.positive { color: var(--success); }
.net-value.negative { color: #ef4444; }

/* Best for you pill (for Obsidian category recommendation) */
.best-for-you-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    color: #92400e;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    white-space: nowrap;
}

.best-for-you-pill svg {
    width: 10px;
    height: 10px;
}

/* Unlock required pill (for rent/mortgage points not fully unlocked) */
.unlock-required-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.unlock-required-pill:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    border-color: #d97706;
}

.unlock-required-pill svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Coming Soon Pill */
.coming-soon-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--border);
    border: 1px solid var(--text-light);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Disabled checkbox group */
.checkbox-group.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.checkbox-group.disabled label {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Collapsible Card Styles */
.card-option {
    transition: all 0.2s ease;
}

.card-option .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
}

.card-option .card-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-option .expand-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.card-option.expanded .expand-icon {
    transform: rotate(180deg);
}

.card-option .card-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.2s ease;
    margin-top: 0;
    cursor: default;
    user-select: text;
}

.card-option.expanded .card-body {
    max-height: 800px;
    opacity: 1;
    margin-top: 12px;
}

.card-option .net-value-collapsed {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.card-option .net-value-collapsed.positive { color: var(--success); }
.card-option .net-value-collapsed.negative { color: #ef4444; }

/* Expand All / Collapse All Button */
.expand-all-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
    background: var(--border);
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.expand-all-btn:hover {
    background: var(--text-light);
    color: white;
}

.toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Breakdown sub-items - styled like Expected Monthly Points breakdown */
.breakdown-subitem {
    padding-left: 12px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.breakdown-subitem .result-label,
.breakdown-subitem .result-value {
    font-size: 0.8rem;
}

.result-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid var(--bilt-blue);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.result-card.recommended {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: var(--success);
}

.result-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 12px;
    background: var(--success);
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-details {
    display: grid;
    gap: 6px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.result-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.result-value.positive {
    color: var(--success);
}

.result-value.negative {
    color: #ef4444;
}

.card-comparison {
    display: grid;
    gap: 12px;
}

.path-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .path-comparison {
        grid-template-columns: 1fr;
    }
}

.path-option {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.path-option.best {
    border-color: var(--success);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.path-option h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.info-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    font-size: 0.8rem;
}

.info-box.blue {
    background: #dbeafe;
    border-color: var(--pointistry-blue);
}

/* Info Cards Section */
.info-section {
    margin-top: 32px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.tier-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.tier-table th, .tier-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tier-table th {
    font-weight: 600;
    background: rgba(0,0,0,0.02);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.current-tier {
    background: #dbeafe !important;
    font-weight: 600;
}

.breakdown-list {
    font-size: 0.8rem;
    margin-top: 8px;
}

.breakdown-list li {
    margin-left: 16px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 32px 24px;
    background: var(--bilt-obsidian);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    line-height: 1.7;
    width: 100%;
}

footer .footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 16px;
}

footer .footer-disclaimer {
    margin-bottom: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-disclaimer strong {
    color: rgba(255, 255, 255, 0.9);
}

footer .footer-affiliation {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

/* Hybrid Slider + Input Component */
.slider-input-group {
    margin-bottom: 20px;
}

.slider-input-group:last-child {
    margin-bottom: 0;
}

.slider-input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text);
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0; /* Prevent overflow from slider */
}

.range-slider {
    flex: 1;
    min-width: 0; /* Prevent overflow */
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--pointistry-blue) var(--fill, 50%), var(--border) var(--fill, 50%));
    outline: none;
    cursor: pointer;
    transition: background 0.1s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--pointistry-blue);
    cursor: grab;
    box-shadow: none;
    transition: transform 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.range-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--pointistry-blue);
    cursor: grab;
    box-shadow: none;
}

.range-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: var(--border);
}

.range-slider::-moz-range-progress {
    height: 8px;
    border-radius: 4px;
    background: var(--pointistry-blue);
}

.value-input {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    text-align: right;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.value-input:focus {
    outline: none;
    border-color: var(--pointistry-blue);
}

.value-input.wide {
    width: 100px;
}

.slider-input-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Category breakdown nested inputs */
.category-inputs {
    margin-top: 16px;
    padding-top: 16px;
}

.category-inputs .slider-input-group {
    margin-bottom: 14px;
}

.category-inputs label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.category-inputs .range-slider {
    height: 6px;
}

.category-inputs .range-slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
}

.category-inputs .value-input {
    width: 70px;
    padding: 6px 8px;
    font-size: 0.85rem;
}

.category-inputs .category-subitem {
    margin-left: 16px;
    padding-left: 12px;
    border-left: 2px solid var(--border);
}

/* Toggle Pills for mode selection */
.toggle-pills {
    display: inline-flex;
    background: var(--border);
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 12px;
}

.toggle-pill {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
    border: none;
    background: none;
}

.toggle-pill.active {
    background: white;
    color: var(--text);
    box-shadow: none;
}

.toggle-pill:hover:not(.active) {
    color: var(--text);
}

/* Per-card credit inputs */
.credit-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0,0,0,0.02);
    border-radius: 6px;
}

.credit-row-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.credit-row-label span {
    font-weight: 500;
    color: var(--text);
}

.credit-row input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: right;
    font-family: inherit;
}

.credit-row input:focus {
    outline: none;
    border-color: var(--pointistry-blue);
}

/* Card header with icon */
.card-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Input cards grid is now 3 columns at all large screen sizes to match results */

/* Info Icon Buttons */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-light);
    color: white;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 4px;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
}

.info-icon:hover {
    background: var(--pointistry-blue);
    transform: scale(1.1);
}

.info-icon.warning {
    background: var(--text-light);
}

.info-icon.warning:hover {
    background: var(--text-muted);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: none;
    border: 1px solid var(--border);
    transform: translateY(20px);
    transition: transform 0.2s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.modal-title-icon svg {
    width: 18px;
    height: 18px;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 20px;
}

.modal-body ul {
    margin: 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
}

.modal-body li:last-child {
    margin-bottom: 0;
}

.modal-body .gotcha-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.modal-body .gotcha-item:last-child {
    margin-bottom: 0;
}

.gotcha-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.gotcha-icon svg {
    width: 16px;
    height: 16px;
}

.gotcha-content {
    flex: 1;
}

.gotcha-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.gotcha-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.modal-section {
    margin-bottom: 16px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Label with info icon */
.label-with-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Modal Pills Navigation */
.modal-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 20px 20px;
}

.modal-pill {
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: #e2e8f0;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.2s;
}

.modal-pill:hover {
    background: #cbd5e1;
    color: #475569;
}

.modal-pill.active {
    background: #334155;
    color: white;
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
}

/* Card Comparison Table in Modal */
.card-comparison-table {
    font-size: 0.75rem;
}

.card-comparison-table th,
.card-comparison-table td {
    padding: 6px 8px;
    text-align: center;
}

.card-comparison-table th:first-child,
.card-comparison-table td:first-child {
    text-align: left;
}

.card-comparison-table .highlight-column {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    font-weight: 600;
}

.card-comparison-table th.highlight-column {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

/* Info icon next to card name */
.info-icon.card-compare-icon {
    margin-left: 6px;
    background: var(--text-light);
}

/* Info icon in path row headers */
.info-icon.path-info-icon {
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--bilt-blue);
    vertical-align: middle;
}

.path-row-header.cash-path .info-icon.path-info-icon {
    color: #92400e;
}
