/* TailorClinic — Design System
   Palette: bg #FAFBFC, accent #2D8B75, CTA #D95030, dark #1B2A3D, warm #F7F4F0
   Fonts: DM Serif Display (headings), Outfit (body) */

:root {
    --bg: #FAFBFC;
    --accent: #2D8B75;
    --accent-light: #e8f5f1;
    --accent-dark: #236e5d;
    --cta: #D95030;
    --cta-hover: #c4432a;
    --dark: #1B2A3D;
    --warm: #F7F4F0;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --text: #1B2A3D;
    --text-light: #4b5563;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 16px; }

/* ── NAV ── */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo img { height: 40px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 24px;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-cta { margin-left: 0; width: 100%; text-align: center; }
}

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-cta {
    background: var(--cta);
    color: var(--white);
}
.btn-cta:hover { background: var(--cta-hover); color: var(--white); }
.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-gray {
    background: var(--gray-300);
    color: var(--gray-600);
    cursor: not-allowed;
}
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--warm) 0%, var(--white) 100%);
    padding: 80px 0;
    text-align: center;
}
.hero h1 { margin-bottom: 20px; }
.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat .num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    display: block;
}
.hero-stat .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .hero { padding: 48px 0; }
    .hero-stats { gap: 24px; }
}

/* ── SECTIONS ── */
.section {
    padding: 80px 0;
}
.section-warm { background: var(--warm); }
.section-white { background: var(--white); }
.section-accent { background: var(--accent); color: var(--white); }
.section-accent h2, .section-accent h3 { color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 12px auto 0;
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }
}

/* ── CARDS ── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* ── HOW IT WORKS (3 steps) ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step {
    text-align: center;
    padding: 24px;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 0.95rem; }

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── ORDER TRACKER (Domino's-style) ── */
.tracker {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 16px 0;
    overflow-x: auto;
}
.tracker::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
}
.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 80px;
}
.tracker-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-200);
    border: 3px solid var(--white);
    margin-bottom: 8px;
    transition: all 0.3s;
}
.tracker-step.completed .tracker-dot {
    background: var(--accent);
}
.tracker-step.active .tracker-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(45, 139, 117, 0.3);
    animation: pulse 2s infinite;
}
.tracker-label {
    font-size: 0.7rem;
    text-align: center;
    color: var(--gray-400);
    font-weight: 500;
    max-width: 80px;
}
.tracker-step.completed .tracker-label,
.tracker-step.active .tracker-label {
    color: var(--accent);
    font-weight: 600;
}
.tracker-time {
    font-size: 0.65rem;
    color: var(--gray-400);
    margin-top: 2px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(45, 139, 117, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(45, 139, 117, 0.1); }
}

/* ── PRICING TABLES ── */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.pricing-table th {
    background: var(--dark);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}
.pricing-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}
.pricing-table tr:nth-child(even) td { background: var(--gray-100); }
.pricing-table .member-price {
    color: var(--accent);
    font-weight: 600;
}
.pricing-table .regular-price {
    color: var(--text-light);
}

.pricing-banner {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    position: sticky;
    top: 64px;
    z-index: 50;
}
.pricing-banner a { color: var(--white); text-decoration: underline; }

/* ── FORMS ── */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 139, 117, 0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-error {
    color: var(--cta);
    font-size: 0.85rem;
    margin-top: 4px;
}
.form-help {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 4px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

/* ── ORDER BUILDER ── */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .order-layout { grid-template-columns: 1fr; }
}

.order-item-row {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
}
.order-item-row .remove-item {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
}
.order-item-row .remove-item:hover { color: var(--cta); }
.order-item-row .item-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 12px;
}
.ai-quote-result {
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    padding: 10px 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* ── ORDER SIDEBAR / STICKY BAR ── */
.order-sidebar {
    position: sticky;
    top: 80px;
}
.order-summary-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.order-summary-card h3 { margin-bottom: 16px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}
.summary-row.total {
    border-top: 2px solid var(--gray-200);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}
.progress-bar-container {
    margin: 12px 0;
}
.progress-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 4px;
}
.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s;
}
.progress-bar-fill.met { background: var(--accent); }
.progress-bar-fill.unmet { background: var(--gray-400); }
.member-savings-callout {
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--accent-dark);
}

@media (max-width: 900px) {
    .order-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        padding: 0;
    }
    .order-summary-card {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        padding: 16px;
    }
}

/* ── MEMBERSHIP ── */
.membership-hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}
.membership-hero h1, .membership-hero h2 { color: var(--white); }
.membership-price-tag {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 16px 0;
}
.membership-price-tag span { font-size: 1.2rem; }

.savings-calc {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    margin: 32px auto 0;
    color: var(--text);
}
.savings-calc input {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 12px;
    width: 200px;
}
.savings-result {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: 12px;
}

/* ── COMPARISON TABLE ── */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.comparison-col {
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}
.comparison-col.regular {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}
.comparison-col.member {
    background: var(--accent-light);
    border: 2px solid var(--accent);
}
.comparison-col h3 { margin-bottom: 16px; }
.comparison-col ul { list-style: none; text-align: left; }
.comparison-col li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.95rem; }
.comparison-col li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

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

/* ── ACCOUNT / DASHBOARD ── */
.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding: 40px 0;
}
.account-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-weight: 500;
}
.account-nav a:hover, .account-nav a.active {
    background: var(--accent-light);
    color: var(--accent);
}

@media (max-width: 768px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { display: flex; overflow-x: auto; gap: 4px; }
    .account-nav a { white-space: nowrap; }
}

/* ── FAQ ── */
.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
}
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    padding: 0;
}
.faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform var(--transition);
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    display: none;
    padding-top: 12px;
    color: var(--text-light);
    line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ── CONFIRMATION ── */
.confirmation-box {
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}
.order-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    margin: 12px 0;
}
.shipping-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}
.shipping-option {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}
.shipping-option h3 { margin-bottom: 8px; }
.shipping-option img { max-width: 200px; margin: 12px 0; }

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

/* ── WHY REPAIR ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    text-align: center;
    padding: 24px 16px;
}
.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.why-card h4 { margin-bottom: 6px; }
.why-card p { color: var(--text-light); font-size: 0.9rem; }

@media (max-width: 768px) {
    .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* ── BOX KITS ── */
.kits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}
.kit-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}
.kit-card:hover { border-color: var(--accent); }
.kit-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    margin: 8px 0;
}

/* ── APP BADGES ── */
.app-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.app-badge {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity var(--transition);
}
.app-badge:hover { opacity: 0.85; color: var(--white); }

/* ── FOOTER ── */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 24px;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--white); }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.9rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── ADMIN ── */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--dark);
    padding: 24px 16px;
}
.admin-sidebar a {
    display: block;
    padding: 10px 14px;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.admin-content { padding: 32px; }
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.admin-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}
.admin-stat .value {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
}
.admin-stat .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}
.admin-table tr:hover td { background: var(--gray-100); }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

@media (max-width: 768px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: flex; overflow-x: auto; padding: 12px; gap: 4px; }
    .admin-sidebar a { white-space: nowrap; }
    .admin-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ALERTS / MESSAGES ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }

/* ── AUTH PAGES ── */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 128px);
    padding: 40px 16px;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    width: 100%;
    max-width: 440px;
}
.auth-card h1 { text-align: center; margin-bottom: 8px; font-size: 1.8rem; }
.auth-card .subtitle { text-align: center; color: var(--text-light); margin-bottom: 24px; }
.auth-links { text-align: center; margin-top: 20px; font-size: 0.9rem; }

/* ── UTILS ── */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-cta { color: var(--cta); }
.text-light { color: var(--text-light); }
.text-sm { font-size: 0.85rem; }
.text-lg { font-size: 1.1rem; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.inline-flex { display: inline-flex; }
.hidden { display: none !important; }
