@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

/* ===== GLOBAL RESET & BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    letter-spacing: -0.011em;
}

body > main {
    flex: 1;
}

body > footer {
    flex-shrink: 0;
}

/* ===== NAVBAR ===== */
.navbar-toggler {
    border-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: color 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
    border-radius: 100px;
    padding: 0.5rem 1rem !important;
}

.navbar .nav-link:hover {
    background-color: rgba(var(--bs-body-color-rgb), 0.06);
    opacity: 0.85;
}

/* Active nav link highlight (scoped to navbar only) */
.navbar .nav-link.nav-active {
    color: var(--bs-body-color) !important;
    font-weight: 700 !important;
    background-color: rgba(var(--bs-body-color-rgb), 0.08);
}
.navbar .nav-link.nav-active:hover {
    text-decoration: none !important;
}

/* Header2 (dark/blur) - keep all text white & active state visible */
.navbar.blur .nav-link {
    color: rgba(255,255,255,0.8) !important;
}
.navbar.blur .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.1);
}
.navbar.blur .nav-link.nav-active {
    color: #fff !important;
    font-weight: 700 !important;
    background-color: rgba(255,255,255,0.15);
}

.default-rounded {
    border-radius: 0.875rem !important;
}

[data-bs-theme=light] {
    .header-border {
        border-bottom: 1px solid rgba(0,0,0,0.08);
        box-shadow: none;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(20px) saturate(1.8);
        -webkit-backdrop-filter: blur(20px) saturate(1.8);
    }
    .footer-border {
        border-top: 1px solid rgba(0,0,0,0.06);
    }
}
[data-bs-theme=dark] {
    .header-border {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        box-shadow: none;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(20px) saturate(1.8);
        -webkit-backdrop-filter: blur(20px) saturate(1.8);
    }
    .footer-border {
        border-top: 1px solid rgba(255,255,255,0.06);
    }
}

.dropdown-item-hover:hover {
    background-color: transparent !important;
}

.btn:focus-visible {
    outline: none !important;
}

[data-bs-theme=dark] {
    .white-image-dark {
        filter: brightness(0) invert(1);
    }
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 100px;
    transition: all 0.15s ease;
    padding: 0.55rem 1.25rem;
}

.btn-primary {
    box-shadow: none;
}

.btn-primary:hover {
    box-shadow: none;
    transform: none;
    filter: brightness(0.92);
}

.btn-danger {
    box-shadow: none;
}

.btn-danger:hover {
    box-shadow: none;
    transform: none;
    filter: brightness(0.92);
}

.btn-secondary {
    box-shadow: none;
}

.btn-secondary:hover {
    filter: brightness(0.92);
}

.btn-outline-secondary {
    border-radius: 100px;
}

.btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1.05rem;
}

/* ===== TYPOGRAPHY ===== */
.title {
    font-weight: 900;
    font-size: 2.7rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero .title {
    font-size: 5.5rem;
    font-family: Inter, Mulish, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    font-weight: 900 !important;
    letter-spacing: -.04em;
    line-height: .9;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Page header pattern */
.page-header {
    margin-bottom: 1.75rem;
}

.page-header h1 {
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.page-header .page-subtitle {
    color: var(--bs-secondary-color);
    font-size: 0.92rem;
}

/* ===== HERO ===== */
@media (max-width: 576px) {
    .title {
        font-size: 1.9rem;
    }

    .hero {
        background: url(../images/hero-mobile.jpg) no-repeat center center / cover;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        position: relative;
        padding: 0 5%;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.65) 100%);
        z-index: 1;
    }

    .hero .container {
        text-align: center;
    }

    .hero .title {
        font-size: 3.5rem;
    }

    .mobile-center {
        text-align: center !important;
    }
}

@media (min-width: 577px) {
    .hero {
        background: url(../images/hero-desktop.jpg) no-repeat center center / cover;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        position: relative;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0.6) 100%);
        z-index: 1;
    }

    .effect-up {
        will-change: transform;
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .effect-up:hover {
        transform: translateY(-0.4rem);
    }

    .effect-bigger {
        will-change: transform;
        transition: transform 0.2s ease;
    }

    .effect-bigger:hover {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 991px) {
    .d-mobile-none {
        display: none !important;
    }
}

/* ===== CARDS (Uber-style: clean, minimal) ===== */
.ftl-card {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.stat-card {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    transition: background-color 0.2s ease;
}

.stat-card:hover {
    transform: none;
    background: rgba(var(--bs-body-color-rgb), 0.02);
}

.stat-card .stat-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    font-size: 1.3rem;
}

.booking-card {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 1rem;
    padding: 1.4rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 577px) {
    .booking-card:hover {
        transform: none;
        background: rgba(var(--bs-body-color-rgb), 0.02);
        border-color: rgba(var(--bs-body-color-rgb), 0.15);
    }
}

.booking-card .booking-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border-radius: 0.875rem;
    font-size: 1.15rem;
}

.booking-card .booking-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.booking-card .booking-meta span {
    font-size: 0.875rem;
}

.booking-card .booking-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-top: 0.85rem;
    margin-top: 0.85rem;
    border-top: 1px solid var(--bs-border-color-translucent);
}

.booking-card .booking-stats .stat-item {
    text-align: center;
}

.booking-card .booking-stats .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color);
    font-weight: 700;
}

.booking-card .booking-stats .stat-value {
    font-weight: 700;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

/* ===== RIDE CARD (Uber-style) ===== */
.ride-card {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1rem;
    padding: 0;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 577px) {
    .ride-card:hover {
        transform: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.1);
    }
}

.ride-card-body {
    padding: 1.25rem 1.4rem;
    min-width: 0;
    overflow: hidden;
}

/* Header: name + status + type icon */
.ride-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ride-card-header-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.ride-card-type-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 0.875rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ride-card-type-icon--taxi {
    background-color: rgb(254, 249, 195);
    color: rgb(202, 138, 4);
}

.ride-card-type-icon--flight {
    background-color: rgb(219, 234, 254);
    color: rgb(37, 99, 235);
}

.ride-card-name {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ride-card-date {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.ride-card-price-badge {
    font-size: 1rem;
    font-weight: 800;
    color: var(--bs-body-color);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Route visualization */
.ride-route {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.ride-route-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
}

.ride-route-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
}

.ride-route-dot--pickup {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.ride-route-dot--dest {
    background: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

.ride-route-line {
    width: 2px;
    flex: 1;
    min-height: 22px;
    background: repeating-linear-gradient(
        to bottom,
        var(--bs-border-color) 0px,
        var(--bs-border-color) 4px,
        transparent 4px,
        transparent 8px
    );
}

.ride-route-stops {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ride-route-stop {
    display: flex;
    flex-direction: column;
}

.ride-route-stop-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.1rem;
}

.ride-route-stop-address {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bottom stats bar */
.ride-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.4rem;
    border-top: 1px solid var(--bs-border-color-translucent);
    background: rgba(var(--bs-body-color-rgb), 0.015);
}

.ride-card-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.ride-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.ride-card-meta-item i {
    font-size: 0.85rem;
}

/* Status badges */
.ride-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ride-status--open {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.ride-status--closed {
    background: rgba(var(--bs-secondary-rgb), 0.1);
    color: var(--bs-secondary-color);
}

/* Action buttons */
.ride-card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem 1rem;
}

.ride-card-actions .btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
}

/* Compact variant for stempelkaart 3-col grid */
.ride-card--compact .ride-card-body {
    padding: 1rem 1.15rem;
}

.ride-card--compact .ride-card-header {
    margin-bottom: 0.75rem;
}

.ride-card--compact .ride-card-footer {
    padding: 0.6rem 1.15rem;
}

.ride-card--compact .ride-route-stop-address {
    font-size: 0.8rem;
}

/* Ride card mobile fixes */
@media (max-width: 576px) {
    .ride-card-body {
        padding: 1rem 1rem;
    }

    .ride-card-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .ride-card-header-left {
        flex: 1;
        min-width: 0;
    }

    .ride-card-name {
        white-space: normal;
        word-break: break-word;
    }

    .ride-card-date {
        white-space: normal;
        word-break: break-word;
    }

    .ride-route-stop-address {
        white-space: normal;
        word-break: break-word;
    }

    .ride-card-footer {
        padding: 0.65rem 1rem;
    }

    .ride-card-actions {
        padding: 0.65rem 1rem 1rem;
    }
}

/* ===== RIDE RECEIPT (Boeking detail - Uber trip-summary) ===== */
.ride-receipt {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.ride-receipt-header {
    padding: 1.75rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.ride-receipt-id {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.4rem;
}

.ride-receipt-date {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.ride-receipt-time {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

/* Route section */
.ride-receipt-route {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.ride-receipt-route .ride-route {
    margin-bottom: 0;
    gap: 1rem;
}

.ride-receipt-route .ride-route-stop-address {
    font-size: 0.95rem;
    white-space: normal;
}

.ride-receipt-route .ride-route-stop-link {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.ride-receipt-route-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.25rem;
    color: var(--bs-primary);
    transition: opacity 0.15s ease;
}

.ride-receipt-route-link:hover {
    opacity: 0.8;
}

.ride-receipt-route .ride-route-line {
    min-height: 30px;
}

/* Info grid section */
.ride-receipt-section {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.ride-receipt-section:last-child {
    border-bottom: none;
}

.ride-receipt-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ride-receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ride-receipt-field {
    display: flex;
    flex-direction: column;
}

.ride-receipt-field--full {
    grid-column: 1 / -1;
}

.ride-receipt-field-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.2rem;
}

.ride-receipt-field-value {
    font-size: 0.92rem;
    font-weight: 600;
}

.ride-receipt-field-value a {
    font-weight: 600;
}

/* Price footer */
.ride-receipt-price {
    padding: 1.25rem 2rem;
    background: rgba(var(--bs-primary-rgb), 0.04);
    border-top: 1px solid var(--bs-border-color-translucent);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ride-receipt-price-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--bs-secondary-color);
}

.ride-receipt-price-label small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 0.15rem;
    color: var(--bs-secondary-color);
    opacity: 0.7;
}

.ride-receipt-price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bs-body-color);
    font-variant-numeric: tabular-nums;
}

/* Actions bar */
.ride-receipt-actions {
    padding: 1rem 2rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 576px) {
    .ride-receipt-header,
    .ride-receipt-route,
    .ride-receipt-section,
    .ride-receipt-price,
    .ride-receipt-actions {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .ride-receipt-date {
        font-size: 1.3rem;
    }

    .ride-receipt-grid {
        grid-template-columns: 1fr;
    }

    .ride-receipt-actions {
        flex-direction: column;
    }

    .ride-receipt-actions .btn {
        width: 100%;
    }

    .ride-card-meta {
        gap: 0.5rem;
    }
}

/* ===== FEATURE CARDS (HOME) ===== */
.feature-card {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

@media (min-width: 577px) {
    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 18px 48px rgba(0,0,0,0.12);
    }
}

.feature-card .feature-icon {
    width: 4rem;
    height: 4rem;
    display: inline-grid;
    place-items: center;
    border-radius: 1.125rem;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
}

.feature-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--bs-secondary-color);
    font-size: 0.925rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== STEMPELKAART (Credit Card Style) ===== */
.stamp-card {
    position: relative;
    aspect-ratio: 1.586 / 1; /* Standard credit card ratio */
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stamp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.12);
}

.stamp-card-bg {
    position: absolute;
    inset: 0;
    background: url(../images/stempelkaart.jpg) no-repeat center center / cover;
    z-index: 0;
}

.stamp-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

.stamp-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.5rem;
    color: white;
}

@media (max-width: 576px) {
    .stamp-card-content {
        padding: 1.15rem;
    }
}

.stamp-card-logo {
    opacity: 0.95;
}

.stamp-card-badge {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255,255,255,0.15);
}

.stamp-card-badge--full {
    background: rgba(34,197,94,0.25);
    border-color: rgba(34,197,94,0.3);
    color: #86efac;
}

.stamp-card-qr-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stamp-card-qr {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: white;
    border-radius: 0.6rem;
    padding: 0.35rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

@media (max-width: 576px) {
    .stamp-card-qr {
        width: 64px;
        height: 64px;
    }
}

.stamp-card-qr img {
    border-radius: 0.3rem;
}

.stamp-card-qr-btn {
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stamp-card-qr-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.stamp-card-qr-expand {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 0.3rem;
    background: rgba(0,0,0,0.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.stamp-card-qr-btn:hover .stamp-card-qr-expand {
    opacity: 1;
}

.stamp-card-info {
    flex: 1;
    min-width: 0;
}

.stamp-card-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .stamp-card-name {
        font-size: 0.95rem;
    }
}

.stamp-card-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.65;
    margin-bottom: 0.5rem;
}

.stamp-card-dots {
    display: flex;
    gap: 0.4rem;
}

.stamp-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 576px) {
    .stamp-dot {
        width: 13px;
        height: 13px;
    }
    .stamp-card-dots {
        gap: 0.3rem;
    }
}

.stamp-dot--filled {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 0 6px rgba(var(--bs-primary-rgb), 0.5);
}

.stamp-card-member {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.5;
}

.icon-border {
    background-color: rgb(var(--bs-secondary-bg-rgb)) !important;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* ===== BLUR / OVERLAY ===== */
.blur {
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

html.no-scroll,
body.no-scroll {
    overflow: hidden;
    height: 100%;
}

.text-shadow {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* ===== FORMS (visible against card bg) ===== */
.form-control,
.form-select {
    border-radius: 0.75rem;
    background: var(--bs-body-bg);
    border: 1.5px solid var(--bs-border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--bs-body-bg);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.15);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    border: none;
    height: 1px;
    background: var(--bs-border-color-translucent);
    margin: 3rem 0;
}

/* ===== BADGE ENHANCEMENTS ===== */
.badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 0.5rem;
    padding: 0.35em 0.65em;
}

/* ===== FOOTER ===== */
.footer-border {
    background: var(--bs-tertiary-bg);
}

.footer-border h5 {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.footer-border .nav-link {
    transition: color 0.2s ease, transform 0.2s ease;
    font-size: 0.9rem;
}

.footer-border .nav-link:hover {
    color: var(--bs-primary) !important;
    transform: translateX(3px);
}

.footer-border .nav-link.nav-active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

/* ===== DETAIL VIEW (BOEKING) ===== */
.detail-item {
    margin-bottom: 1.35rem;
}

.detail-item .detail-label {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
    color: var(--bs-secondary-color);
}

.detail-item .detail-value {
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: var(--bs-tertiary-bg);
    border-top: 1px solid var(--bs-border-color-translucent);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== BOOTSTRAP MODAL OVERRIDES ===== */
.modal-backdrop {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-content {
    border: none !important;
    border-radius: 1.25rem !important;
    background: var(--bs-tertiary-bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 32px 80px rgba(0,0,0,0.16) !important;
}

.modal-header {
    border-bottom: 1px solid var(--bs-border-color-translucent);
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--bs-border-color-translucent);
    padding: 1rem 1.5rem;
}

.modal .btn-close {
    opacity: 0.4;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Compact modal for desktop */
@media (min-width: 768px) {
    .modal-dialog.modal-compact {
        max-width: 520px;
    }
}

/* ===== BOARDING PASS FLIGHT CARD ===== */
.flight-card {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}

.flight-card-header {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #0d1b4a 0%, #1b2e6e 50%, #253a80 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flight-card-header .flight-number {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}

.flight-card-header .flight-badge {
    background: rgba(255,255,255,0.15);
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}
.flight-card-header .flight-badge:hover {
    background: rgba(255,255,255,0.25);
}

/* Perforated tear-off line between header and body */
.flight-card-body {
    padding: 1.75rem;
    position: relative;
    background: var(--bs-secondary-bg);
}
.flight-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background-image: repeating-linear-gradient(
        to right,
        var(--bs-border-color-translucent) 0px,
        var(--bs-border-color-translucent) 6px,
        transparent 6px,
        transparent 12px
    );
}

/* Notch cutouts on tear line */
.flight-card-body::after {
    content: '';
    display: none; /* hidden by default, shown on wider screens */
}

.flight-route {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
}

.flight-route-endpoint {
    flex: 0 0 auto;
    min-width: 60px;
}

.flight-route-endpoint .flight-time {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.flight-route-endpoint .flight-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    margin-top: 0.3rem;
}

.flight-route-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 40px;
}

.flight-route-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-image: repeating-linear-gradient(
        to right,
        var(--bs-border-color) 0px,
        var(--bs-border-color) 4px,
        transparent 4px,
        transparent 10px
    );
}

.flight-route-line i {
    position: relative;
    z-index: 1;
    background: var(--bs-tertiary-bg);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bs-primary);
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.15);
    padding: 0;
}

.flight-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.flight-detail-item {
    padding: 0.85rem 1rem;
    background: var(--bs-body-bg);
    border-radius: 0.875rem;
}

.flight-detail-item .flight-detail-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
}

.flight-detail-item .flight-detail-value {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Boarding pass side notches (desktop only) */
@media (min-width: 768px) {
    .flight-card::before,
    .flight-card::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background: var(--bs-body-bg);
        border-radius: 50%;
        top: calc(100% - 50%);
        z-index: 2;
    }
    .flight-card::before {
        left: -10px;
    }
    .flight-card::after {
        right: -10px;
    }
}

.flight-not-found {
    text-align: center;
    padding: 1.5rem;
}

.flight-not-found i {
    font-size: 2rem;
    opacity: 0.15;
    margin-bottom: 0.5rem;
}

/* ===== DAYS OFF (VRij) ===== */
.dayoff-period {
    background: var(--bs-body-bg);
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.dayoff-period-body {
  border-top: 1px solid var(--bs-border-color-translucent);
  padding: 0.75rem 1.25rem;

  max-height: 300px;      /* pas aan naar wens */
  overflow-y: auto;
}

.dayoff-period:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
}

.dayoff-period-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease;
}

.dayoff-period-header:hover {
    background: rgba(var(--bs-body-color-rgb), 0.02);
}

.dayoff-period-header .dayoff-dates {
    font-weight: 700;
    font-size: 0.95rem;
}

.dayoff-period-header .dayoff-count {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.dayoff-period-body {
    border-top: 1px solid var(--bs-border-color-translucent);
    padding: 0.75rem 1.25rem;
}

.dayoff-day-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.dayoff-day-row:not(:last-child) {
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.dayoff-day-row .dayoff-day-date {
    font-size: 0.88rem;
    font-weight: 500;
}

.dayoff-period-actions {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--bs-border-color-translucent);
    display: flex;
    justify-content: flex-end;
}

/* ===== OVERZICHT TABEL ===== */
.overzicht-toolbar {
    margin-bottom: 1rem;
}

.overzicht-surface {
    padding: 0;
}

.overzicht-summary-card {
    border: none;
    border-radius: 1rem;
    background: var(--bs-tertiary-bg);
    padding: 1.25rem 1.4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.overzicht-summary-card--primary {
    outline-color: rgba(var(--bs-primary-rgb), 0.35);
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08), var(--bs-tertiary-bg));
}

.overzicht-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.overzicht-summary-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.15rem;
}

.overzicht-summary-value {
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.overzicht-summary-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 0.875rem;
    background: rgba(var(--bs-body-color-rgb), 0.06);
    color: rgba(var(--bs-body-color-rgb), 0.5);
    font-size: 1.1rem;
}

.overzicht-total-row th,
.overzicht-total-row td {
    background: rgba(var(--bs-body-color-rgb), 0.02);
    border-top: 1px solid var(--bs-border-color-translucent);
}

.overzicht-total-row th:first-child {
    box-shadow: none;
}

.overzicht-table-wrap {
    max-height: 70vh;
    overflow: auto;
    border-radius: 1rem;
    border: none;
    background: var(--bs-tertiary-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.overzicht-table {
    --ftl-row-hover: rgba(var(--bs-primary-rgb), 0.06);
    --ftl-row-alt: rgba(var(--bs-body-color-rgb), 0.02);
}

.overzicht-table th,
.overzicht-table td {
    vertical-align: middle;
    padding: 0.85rem 1rem;
}

.overzicht-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color-translucent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
}

.overzicht-table.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-bg-type: var(--ftl-row-alt);
}

.overzicht-table tbody tr {
    transition: background-color 140ms ease-in-out;
}

.overzicht-table tbody tr:hover {
    background-color: var(--ftl-row-hover);
}

.overzicht-table .money,
.overzicht-table .number {
    font-variant-numeric: tabular-nums;
}

.overzicht-table .muted {
    color: var(--bs-secondary-color);
}

/* Mobiel */
@media (max-width: 576px) {
    .overzicht-table-wrap {
        max-height: none;
        box-shadow: none;
        border: 0;
        background: transparent;
    }

    .overzicht-table {
        background: transparent;
    }

    .overzicht-table thead {
        display: none;
    }

    .overzicht-table tbody,
    .overzicht-table tfoot {
        display: block;
    }

    .overzicht-table tbody tr,
    .overzicht-table tfoot tr {
        display: block;
        border: none;
        border-radius: 1.25rem;
        overflow: hidden;
        background: var(--bs-tertiary-bg);
        margin-bottom: 0.85rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    }

    .overzicht-table tbody td,
    .overzicht-table tfoot th,
    .overzicht-table tfoot td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        padding: 0.85rem 1.1rem;
        border: 0;
        border-bottom: 1px solid var(--bs-border-color-translucent);
        white-space: normal !important;
    }

    .overzicht-table tbody td:last-child,
    .overzicht-table tfoot th:last-child,
    .overzicht-table tfoot td:last-child {
        border-bottom: 0;
    }

    .overzicht-table tbody td::before,
    .overzicht-table tfoot th::before,
    .overzicht-table tfoot td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--bs-secondary-color);
        flex: 1;
        max-width: 44%;
    }

    .overzicht-table tbody td > *:last-child {
        margin-left: auto;
    }

    .page-header {
        text-align: center;
    }
}

/* ===== OVERZICHT BOOKING PILL ===== */
.overzicht-booking-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background-color 0.15s ease;
}

.overzicht-booking-pill:hover {
    background: rgba(var(--bs-primary-rgb), 0.15);
}

.overzicht-booking-pill__hash {
    font-variant-numeric: tabular-nums;
}

.overzicht-booking-pill i {
    font-size: 0.65rem;
}

/* ===== PROGRESS BAR ===== */
.progress {
    background: var(--bs-border-color-translucent);
    border-radius: 1rem;
}

.progress-bar {
    background: linear-gradient(90deg, var(--bs-primary), #f0d000);
    border-radius: 1rem;
}

/* ===== CAR SELECTION ===== */
.car-option {
    display: block;
    text-align: center;
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 2px solid var(--bs-border-color-translucent);
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--bs-body-bg);
}

.car-option:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.4);
    box-shadow: 0 4px 20px rgba(var(--bs-primary-rgb), 0.1);
}

.car-option.active,
label:has(input[type="radio"]:checked) {
    border-color: var(--bs-primary) !important;
    background: rgba(var(--bs-primary-rgb), 0.05);
    box-shadow: 0 4px 20px rgba(var(--bs-primary-rgb), 0.15);
}

input[type="radio"]:checked + strong {
    color: var(--bs-primary);
}

/* ===== ALERT ===== */
.alert {
    border: none;
    font-size: 0.925rem;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Standardized alert component */
.ftl-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ftl-alert-icon {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.ftl-alert--success {
    background: rgba(22, 163, 74, 0.08);
    color: #15803d;
}

.ftl-alert--success .ftl-alert-icon {
    background: rgba(22, 163, 74, 0.15);
    color: #16a34a;
}

.ftl-alert--danger {
    background: rgba(220, 53, 69, 0.08);
    color: #b91c1c;
}

.ftl-alert--danger .ftl-alert-icon {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.ftl-alert--warning {
    background: rgba(202, 138, 4, 0.08);
    color: #92400e;
}

.ftl-alert--warning .ftl-alert-icon {
    background: rgba(202, 138, 4, 0.15);
    color: #ca8a04;
}

[data-bs-theme=dark] .ftl-alert--success { color: #86efac; }
[data-bs-theme=dark] .ftl-alert--danger { color: #fca5a5; }
[data-bs-theme=dark] .ftl-alert--warning { color: #fde68a; }

/* ===== ACCOUNT SETTINGS ===== */
.account-section {
    background: var(--bs-tertiary-bg);
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.account-section-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 0.875rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

.account-section-icon--danger {
    background: rgba(var(--bs-danger-rgb), 0.1);
    color: var(--bs-danger);
}

.account-section-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.account-section-desc {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

.account-section-body {
    padding: 1.5rem 1.75rem;
}

@media (max-width: 576px) {
    .account-section-header,
    .account-section-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ===== PROFILE DROPDOWN ===== */
.profile-avatar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.profile-toggle:hover .profile-avatar-nav,
.profile-toggle.show .profile-avatar-nav {
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.profile-avatar-nav--light {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.profile-toggle:hover .profile-avatar-nav--light,
.profile-toggle.show .profile-avatar-nav--light {
    background: rgba(255,255,255,0.3);
    color: #fff;
    box-shadow: 0 2px 12px rgba(255,255,255,0.15);
}

.profile-dropdown {
    min-width: 260px;
    border: none;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
    margin-top: 0.5rem !important;
    background: var(--bs-body-bg);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem;
}

.profile-dropdown-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.profile-dropdown-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-dropdown-name {
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-email {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-item {
    border-radius: 0.5rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: background 0.15s ease;
}

.profile-dropdown-item:hover {
    background: rgba(var(--bs-body-color-rgb), 0.04);
}

.profile-dropdown-item--danger {
    color: var(--bs-danger);
}

.profile-dropdown-item--danger:hover {
    background: rgba(var(--bs-danger-rgb), 0.06);
    color: var(--bs-danger);
}

.profile-dropdown .dropdown-divider {
    margin: 0.25rem 0.5rem;
    opacity: 0.08;
}

/* ===== ACCOUNT HERO CARD ===== */
.account-hero {
    background: var(--bs-tertiary-bg);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.account-hero-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.account-hero-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.account-hero-name {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
}

.account-hero-email {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
}

.account-hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.account-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

@media (max-width: 576px) {
    .account-hero {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .account-hero-meta {
        justify-content: center;
    }
}

/* ===== FLATPICKR ===== */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Flatpickr dark mode */
[data-bs-theme=dark] .flatpickr-calendar {
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-bs-theme=dark] .flatpickr-months .flatpickr-month,
[data-bs-theme=dark] .flatpickr-current-month .flatpickr-monthDropdown-months,
[data-bs-theme=dark] .flatpickr-weekdays,
[data-bs-theme=dark] span.flatpickr-weekday {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .flatpickr-current-month input.cur-year,
[data-bs-theme=dark] .flatpickr-current-month .numInputWrapper span {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .flatpickr-day {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .flatpickr-day:hover,
[data-bs-theme=dark] .flatpickr-day:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme=dark] .flatpickr-day.prevMonthDay,
[data-bs-theme=dark] .flatpickr-day.nextMonthDay {
    color: rgba(255, 255, 255, 0.25);
}

[data-bs-theme=dark] .flatpickr-day.flatpickr-disabled,
[data-bs-theme=dark] .flatpickr-day.flatpickr-disabled:hover {
    color: rgba(255, 255, 255, 0.15);
}

[data-bs-theme=dark] .flatpickr-day.today:not(.selected) {
    border-color: var(--bs-primary);
}

[data-bs-theme=dark] .flatpickr-months .flatpickr-prev-month,
[data-bs-theme=dark] .flatpickr-months .flatpickr-next-month {
    color: var(--bs-body-color);
    fill: var(--bs-body-color);
}

[data-bs-theme=dark] .flatpickr-months .flatpickr-prev-month:hover svg,
[data-bs-theme=dark] .flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--bs-primary);
}

[data-bs-theme=dark] .flatpickr-innerContainer {
    border-bottom: none;
}

[data-bs-theme=dark] .flatpickr-time {
    border-top-color: var(--bs-border-color);
}

[data-bs-theme=dark] .flatpickr-time input,
[data-bs-theme=dark] .flatpickr-time .flatpickr-am-pm {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .flatpickr-time input:hover,
[data-bs-theme=dark] .flatpickr-time .flatpickr-am-pm:hover,
[data-bs-theme=dark] .flatpickr-time input:focus,
[data-bs-theme=dark] .flatpickr-time .flatpickr-am-pm:focus {
    background: rgba(255, 255, 255, 0.06);
}


/* ===== STEP INDICATOR ===== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-item + .step-item::before {
    content: '';
    display: block;
    width: 3rem;
    height: 2px;
    background: var(--bs-border-color);
    margin-right: 0.5rem;
    border-radius: 1px;
    transition: background 0.3s ease;
}

.step-item.completed + .step-item::before,
.step-item.active + .step-item::before {
    background: var(--bs-primary);
}

.step-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 800;
    background: var(--bs-body-bg);
    border: 2px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-item.active .step-circle {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    box-shadow: 0 2px 10px rgba(var(--bs-primary-rgb), 0.35);
}

.step-item.completed .step-circle {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.step-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bs-secondary-color);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.step-item.active .step-label {
    color: var(--bs-primary);
}

.step-item.completed .step-label {
    color: var(--bs-body-color);
}

@media (max-width: 576px) {
    .step-item + .step-item::before {
        width: 1.5rem;
    }
    .step-label {
        display: none;
    }
}

/* ===== BOOKING FORM SECTION HEADERS ===== */
.form-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ===== CONFIRMATION SUMMARY ===== */
.confirmation-card {
    background: var(--bs-body-bg);
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.confirmation-section {
    padding: 1rem 1.25rem;
}

.confirmation-section + .confirmation-section {
    border-top: 1px solid var(--bs-border-color-translucent);
}

.confirmation-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.65rem;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.confirmation-row-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
    font-size: 0.85rem;
}

.confirmation-row-value {
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.confirmation-price {
    padding: 1rem 1.25rem;
    background: rgba(var(--bs-primary-rgb), 0.06);
    border-top: 1px solid var(--bs-border-color-translucent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirmation-price-label {
    font-weight: 700;
    font-size: 0.95rem;
}

.confirmation-price-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bs-primary);
    font-variant-numeric: tabular-nums;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--bs-body-color-rgb), 0.12);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--bs-body-color-rgb), 0.25);
}

/* ===== CHECKBOX ===== */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.modal {
  height: auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        max-height: 90vh;
        margin: 1.75rem auto;
    }

    .modal-content {
        height: 100%;
    }

    .modal-body {
        overflow-y: auto;
    }
}
