/* ============================================================
   MoveAround Platform — Custom Styles
   Built on top of MudBlazor. Keep overrides minimal.
   ============================================================ */

/* ── Global resets ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* ── Hero section (used on Home page) ────────────────────── */
.hero {
    background: linear-gradient(135deg, #1565C0 0%, #003c8f 60%, #001b5e 100%);
    color: #fff;
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: #F5F7FA;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── Quote step wizard ────────────────────────────────────── */
.quote-stepper .mud-stepper-nav-button { font-weight: 600; }

/* ── Driver card ──────────────────────────────────────────── */
.driver-card {
    transition: transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
}

.driver-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}

.driver-card.selected {
    border: 2px solid #1565C0 !important;
    box-shadow: 0 0 0 3px rgba(21,101,192,.2) !important;
}

.driver-avatar-placeholder {
    font-weight: 700;
    letter-spacing: .5px;
}

.driver-trust-row {
    flex-wrap: wrap;
    margin: 4px 0 2px;
}

.driver-trust-chip {
    font-weight: 600;
}

/* ── Status chips ─────────────────────────────────────────── */
.status-chip { font-size: .72rem; font-weight: 700; letter-spacing: .5px; }

/* ── Stat cards (driver dashboard) ───────────────────────── */
.stat-card { border-left: 4px solid; }
.stat-card.primary { border-color: #1565C0; }
.stat-card.success { border-color: #2E7D32; }
.stat-card.warning { border-color: #F57C00; }
.stat-card.info    { border-color: #0277BD; }

/* ── Section spacing ──────────────────────────────────────── */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ── Trust badge row (Home page) ─────────────────────────── */
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

/* ── Google Maps address input ────────────────────────────── */
.pac-container {
    z-index: 9999 !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    font-family: Roboto, sans-serif;
}

/* ── Availability calendar ────────────────────────────────── */
.cal-day {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .1s;
}

.cal-day.available   { background: #e8f5e9; color: #2E7D32; }
.cal-day.unavailable { background: #fce4ec; color: #C62828; }
.cal-day.today       { border: 2px solid #1565C0; }
.cal-day:hover       { opacity: .8; }

/* ── Responsive helpers ───────────────────────────────────── */
@media (max-width: 600px) {
    .hero { padding: 64px 0 56px; }
    .section { padding: 40px 0; }
}
