/**
 * Stylesheet for SIPP & Platform Fee Drag Analyzer
 */
.fee-drag-container { max-width: 1140px; margin: 36px auto 80px; padding: 0 24px; }
.breadcrumbs { font-size: 0.85rem; color: #64748B; margin-bottom: 24px; }
.breadcrumbs a { color: #0B1B3D; font-weight: 600; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.calc-header { text-align: center; margin-bottom: 36px; }
.calc-badge { display: inline-block; background: #FEF3C7; color: #92400E; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 14px; border-radius: 20px; margin-bottom: 12px; border: 1px solid #FCD34D; }
.calc-header h1 { font-family: var(--font-display, 'Outfit', sans-serif); font-size: 2.5rem; font-weight: 800; color: #0B1B3D; line-height: 1.25; margin-bottom: 12px; }
.calc-header p { font-size: 1.1rem; color: #475569; max-width: 760px; margin: 0 auto; line-height: 1.6; }

.calc-grid { display: grid; grid-template-columns: 450px 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .calc-grid { grid-template-columns: 1fr; gap: 28px; } }

.input-panel, .results-panel { background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 16px; padding: 26px; box-shadow: 0 4px 16px rgba(11, 27, 61, 0.04); }
.panel-title { font-family: var(--font-display, 'Outfit', sans-serif); font-size: 1.22rem; font-weight: 700; color: #0B1B3D; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1.5px solid #F1F5F9; display: flex; justify-content: space-between; align-items: center; }

.presets-box { margin-bottom: 22px; }
.preset-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.preset-chip { background: #F8FAFC; border: 1px solid #CBD5E1; color: #334155; font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 9999px; cursor: pointer; transition: all 0.15s ease; }
.preset-chip:hover { border-color: #0B1B3D; color: #0B1B3D; }
.preset-chip.active { background: #0B1B3D; border-color: #0B1B3D; color: #FFFFFF; }

.slider-group { margin-bottom: 20px; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.slider-label { font-weight: 600; color: #0B1B3D; font-size: 0.9rem; }
.slider-val { font-family: var(--font-display, 'Outfit', sans-serif); font-size: 1.05rem; font-weight: 700; color: #0F4C3A; }
.slider-subtext { font-size: 0.78rem; color: #64748B; margin-top: 4px; }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 4px; background: #E2E8F0; outline: none; margin: 6px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #0B1B3D; cursor: pointer; border: 2px solid #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.scenario-card { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.scenario-card.benchmark { background: #F0FDF4; border-color: #BBF7D0; }
.scenario-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.92rem; margin-bottom: 12px; color: #0B1B3D; }
.fee-badge { font-size: 0.8rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #E2E8F0; color: #334155; }
.fee-badge.highlight { background: #DCFCE7; color: #166534; }

.hero-loss-card { background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); border: 1.5px solid #FCD34D; border-radius: 14px; padding: 22px; text-align: center; margin-bottom: 24px; }
.hero-loss-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #92400E; }
.hero-loss-val { font-family: var(--font-display, 'Outfit', sans-serif); font-size: 2.6rem; font-weight: 800; color: #B45309; line-height: 1.15; margin: 6px 0; }
.hero-loss-pct { font-size: 0.95rem; font-weight: 600; color: #78350F; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 600px) { .kpi-row { grid-template-columns: 1fr; gap: 10px; } }
.kpi-tile { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px; padding: 14px; text-align: center; }
.kpi-label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; color: #64748B; margin-bottom: 4px; }
.kpi-val { font-family: var(--font-display, 'Outfit', sans-serif); font-size: 1.25rem; font-weight: 700; color: #0B1B3D; }

.terminal-comparison { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.comparison-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.9rem; }
.bar-track { background: #E2E8F0; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 4px; display: flex; }
.bar-fill-a { background: #64748B; height: 100%; }
.bar-fill-b { background: #10B981; height: 100%; }

.chart-box { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.chart-box h3 { font-size: 0.95rem; font-weight: 700; color: #0B1B3D; margin: 0 0 12px; display: flex; justify-content: space-between; }
.chart-svg { width: 100%; height: 220px; overflow: visible; }

.lead-bridge-box { background: #F0FDF4; border: 1.5px solid #86EFAC; border-radius: 14px; padding: 22px; text-align: center; }
.lead-bridge-box h4 { font-size: 1.1rem; font-weight: 700; color: #0F4C3A; margin: 0 0 8px; }
.lead-bridge-box p { font-size: 0.88rem; color: #374151; margin: 0 0 16px; line-height: 1.5; }
.btn-audit-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #0F4C3A; color: #FFFFFF; font-weight: 700; font-size: 0.92rem; padding: 12px 24px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; transition: background 0.15s ease; width: 100%; box-sizing: border-box; }
.btn-audit-cta:hover { background: #135F49; }
