/* Marque Bokeko — vert #F0C000, blanc, noir */
:root {
    --bokeko-primary: #F0C000;
    --bokeko-primary-light: #F0C000;
    --bokeko-black: #000000;
    --bokeko-white: #ffffff;
    --bokeko-surface: #f3f4f6;
    --bokeko-accent-soft: #F0C000;
}

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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.landing-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 52;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.landing-header .brand-logo {
    height: 64px;
    max-width: 260px;
}

.brand-logo {
    width: auto;
    height: 56px;
    max-width: 220px;
    margin-right: 12px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.brand-logo--full {
    height: 52px;
    max-width: 260px;
    margin-right: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand-logo {
    height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.nav-link {
    text-decoration: none;
    color: inherit;
}

.nav-link:hover {
    color: #111827;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Landing — menu hamburger & panneau mobile */
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 56;
    transition:
        box-shadow 0.25s ease,
        transform 0.2s ease,
        background 0.25s ease;
}

.nav-hamburger:hover {
    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(240, 192, 0, 0.35);
}

.nav-hamburger:focus-visible {
    outline: 2px solid #f0c000;
    outline-offset: 2px;
}

.nav-hamburger-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 22px;
}

.nav-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #0f172a;
    transition:
        transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.25s ease,
        width 0.25s ease;
    transform-origin: center;
}

.nav-hamburger--open .nav-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger--open .nav-hamburger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-hamburger--open .nav-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.landing-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 7000;
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.landing-nav-backdrop-enter {
    transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-nav-backdrop-enter-start,
.landing-nav-backdrop-leave-end {
    opacity: 0;
}

.landing-nav-backdrop-enter-end,
.landing-nav-backdrop-leave-start {
    opacity: 1;
}

.landing-nav-backdrop-leave {
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 7100;
    width: min(100%, 400px);
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    box-shadow:
        -24px 0 64px rgba(15, 23, 42, 0.18),
        -1px 0 0 rgba(255, 255, 255, 0.8) inset;
    border-left: 1px solid rgba(15, 23, 42, 0.06);
}

.landing-nav-panel-enter {
    transition:
        transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1),
        opacity 0.32s ease;
}

.landing-nav-panel-enter-start,
.landing-nav-panel-leave-end {
    transform: translateX(100%);
    opacity: 0.92;
}

.landing-nav-panel-enter-end,
.landing-nav-panel-leave-start {
    transform: translateX(0);
    opacity: 1;
}

.landing-nav-panel-leave {
    transition:
        transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.24s ease;
}

.landing-nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
}

.landing-nav-panel-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.landing-nav-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #0f172a;
    color: #f8fafc;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.landing-nav-panel-close:hover {
    background: #020617;
    transform: scale(1.04);
}

.landing-nav-panel-close:focus-visible {
    outline: 2px solid #f0c000;
    outline-offset: 2px;
}

.landing-nav-panel-links {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing-nav-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.2s ease;
}

.landing-nav-panel-link:hover {
    background: #ffffff;
    border-color: rgba(240, 192, 0, 0.45);
    box-shadow: 0 8px 24px rgba(240, 192, 0, 0.12);
    transform: translateX(-2px);
}

.landing-nav-panel-chevron {
    flex-shrink: 0;
    opacity: 0.35;
    color: #64748b;
}

.landing-nav-panel-link:hover .landing-nav-panel-chevron {
    opacity: 0.9;
    color: #0f172a;
}

.landing-nav-panel-actions {
    padding: 16px 18px 24px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.95));
}

.landing-nav-panel-btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .nav-hamburger {
        display: inline-flex !important;
    }

    .landing-header-inner {
        padding: 12px 18px;
        gap: 14px;
    }

    .brand-subtitle {
        display: none;
    }

    .brand-title {
        font-size: 0.82rem;
        max-width: 52vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 1200px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .nav-hamburger {
        display: inline-flex !important;
        position: fixed;
        top: 12px;
        right: 14px;
        z-index: 7200;
    }

    .landing-header-inner {
        padding-right: 68px;
    }
}

.btn-outline-small {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: transparent;
    color: #111827;
    font-size: 0.8rem;
    text-decoration: none;
}

.btn-primary-small {
    padding: 6px 18px;
    border-radius: 999px;
    border: none;
    background: var(--bokeko-primary);
    color: var(--bokeko-white);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

main {
    min-height: 60vh;
}

/* AUTH PAGES */
.auth-page-body main {
    min-height: calc(100vh - 80px);
}

.auth-page {
    min-height: calc(100vh - 80px);
    padding: 40px 24px 56px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(24, 88, 53, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 95% 100%, rgba(24, 88, 53, 0.08), transparent 50%),
        linear-gradient(180deg, #f8faf9 0%, #ffffff 45%, #f3f4f6 100%);
}

.auth-shell {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0;
    align-items: stretch;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 24px 64px rgba(24, 88, 53, 0.12),
        0 40px 80px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(24, 88, 53, 0.1);
}

.auth-aside {
    display: flex;
    flex-direction: column;
    padding: 40px 36px;
    background: linear-gradient(155deg, #0a0a0a 0%, #F0C000 38%, var(--bokeko-primary) 100%);
    color: var(--bokeko-white);
    position: relative;
    overflow: hidden;
}

.auth-aside::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.auth-aside-logo-link {
    display: inline-flex;
    text-decoration: none;
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
}

.auth-aside-logo {
    height: 48px;
    max-width: 200px;
    filter: brightness(0) invert(1);
    margin-right: 0;
}

.auth-aside-icon-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.auth-aside-favicon {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.auth-aside-tagline {
    position: relative;
    z-index: 1;
    margin: 0 0 28px;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    max-width: 16ch;
}

.auth-aside-features {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-aside-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.auth-aside-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
}

.auth-card {
    background: var(--bokeko-white);
    padding: 36px 40px 32px;
    display: flex;
    flex-direction: column;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: var(--bokeko-accent-soft);
    border: 1px solid rgba(24, 88, 53, 0.14);
}

.auth-card-favicon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.auth-card-header h1 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bokeko-black);
}

.auth-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
}

.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0f172a;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-field input::placeholder {
    color: #94a3b8;
}

.auth-field input:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.auth-field input:focus {
    outline: none;
    border-color: #ffffff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(24, 88, 53, 0.15);
}

.auth-remember {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    user-select: none;
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ffffff;
    cursor: pointer;
}

.auth-error {
    margin-bottom: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.85rem;
    line-height: 1.45;
}

.auth-submit {
    margin-top: 4px;
    padding: 13px 20px;
    border-radius: 999px;
    border: none;
    background: var(--bokeko-primary);
    color: var(--bokeko-white);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(24, 88, 53, 0.28);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.auth-submit:hover {
    background: var(--bokeko-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(24, 88, 53, 0.32);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit:focus-visible {
    outline: 2px solid var(--bokeko-primary);
    outline-offset: 3px;
}

.auth-switch {
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-switch a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-switch a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* APP DASHBOARD LAYOUT */
.app-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background: #f3f4f6;
}

.app-sidebar {
    background: #020617;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
}

.app-sidebar-header {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #111827;
}

.app-sidebar-header .brand-logo,
.app-header-brand .brand-logo {
    height: 52px;
    max-width: 200px;
}

.app-sidebar-nav {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}

.app-sidebar-link {
    padding: 8px 10px;
    border-radius: 999px;
    text-decoration: none;
    color: #e5e7eb;
}

.app-sidebar-link-active {
    background: var(--bokeko-primary);
    color: var(--bokeko-white);
    font-weight: 600;
}

.app-sidebar-footer {
    margin-top: auto;
    padding: 10px 16px;
    border-top: 1px solid #111827;
    font-size: 0.8rem;
    color: #9ca3af;
}

.app-main {
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 56px;
    background: #020617;
    border-bottom: 1px solid #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.app-header-start {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.app-header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #020617;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.app-header-label {
    color: #94a3b8;
}

.app-header-title {
    color: #f8fafc;
}

.app-header-balance {
    font-weight: 700;
    color: #ffffff;
}

.app-content {
    padding: 20px 24px 24px;
}

.app-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: flex-start;
}

.app-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem;
}

.app-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

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

.app-card-title {
    font-weight: 600;
    color: #020617;
}

.app-card-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
}

.app-badge-soft {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: #F0C000;
    color: #ffffff;
    border: 1px solid #F0C000;
}

.app-map-placeholder {
    border-radius: 14px;
    background: #f3f4f6;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #6b7280;
}

.app-map-placeholder.map-ready {
    display: block;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.app-map-placeholder.map-ready .mapboxgl-map {
    border-radius: 14px;
}

.app-wallet-balance {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.app-wallet-text {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ——— App shell (refonte Bokeko) ——— */
.app-shell {
    background: #f0f4f2;
}

.app-sidebar {
    background: linear-gradient(180deg, #0a0a0a 0%, #F0C000 50%, #F0C000 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.app-sidebar-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.app-sidebar-header .brand-logo {
    filter: brightness(0) invert(1);
}

.app-sidebar-link {
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.app-sidebar-link:hover:not(.app-sidebar-link-active) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.app-sidebar-link--cta {
    color: #ffffff !important;
    font-weight: 600;
}

.app-sidebar-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.app-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.app-sidebar-avatar:hover {
    border-color: #fff;
    transform: scale(1.04);
}

.app-sidebar-profile-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
}

.app-sidebar-profile-action {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.app-sidebar-profile-action:hover {
    color: #ffffff;
}

.app-header {
    height: auto;
    min-height: 60px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 88, 53, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.app-header-balance {
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a, #185835);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}

.app-content {
    padding: 24px 24px 40px;
}

.app-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(24, 88, 53, 0.06);
}

.app-card:hover {
    transform: translateY(-1px);
}

.app-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-card--map .app-map-placeholder {
    height: 280px;
}

.app-badge-soft--live {
    background: #185835;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.app-wallet-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #185835 100%);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.app-wallet-card .app-card-title,
.app-wallet-card .app-wallet-text {
    color: rgba(255, 255, 255, 0.88);
}

.app-wallet-card .app-wallet-balance span {
    color: rgba(255, 255, 255, 0.65);
}

.app-wallet-card .app-card-header {
    margin-bottom: 4px;
}

.app-wallet-favicon {
    display: block;
    object-fit: contain;
    opacity: 0.9;
}

.app-wallet-balance span {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.app-column-side .dash-btn + .dash-btn {
    margin-top: 10px;
}

/* ——— Dashboard client ——— */
.dash-page {
    max-width: 1200px;
    margin: 0 auto;
}

/* Course active : masquer formulaire, carte globale, wallet et notifications */
.dash-page--focus-course [data-dash-hidden-during-course] {
    display: none !important;
}

.dash-recent-deliveries--focus {
    max-width: 1120px;
    margin: 24px auto 0;
}

.dash-page--focus-course .dash-welcome-lead {
    max-width: 48ch;
}

.dash-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 28px 32px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0a0a0a 0%, #F0C000 40%, var(--bokeko-primary) 100%);
    color: #fff;
    box-shadow: 0 16px 48px rgba(24, 88, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.dash-welcome::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 65%);
    pointer-events: none;
}

.dash-welcome-text {
    position: relative;
    z-index: 1;
}

.dash-welcome-eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.dash-welcome-title {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dash-welcome-lead {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 36ch;
    line-height: 1.5;
}

.dash-welcome-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dash-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.dash-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dash-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    line-height: 1.45;
}

.dash-alert--success {
    background: #185835;
    border: 1px solid #185835;
    color: #ffffff;
}

.dash-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.dash-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dash-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: none;
    margin: 0;
    padding: 0;
}

.dash-field--recipient {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.dash-field--recipient legend {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.dash-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .dash-field-row {
        grid-template-columns: 1fr;
    }
}

.dash-field legend,
.dash-field > label,
.dash-field-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.dash-field small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.dash-price-estimate {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed #f0c000;
    background: rgba(240, 192, 0, 0.08);
}

.dash-price-estimate-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.dash-price-estimate strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.dash-price-estimate small {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.dash-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0f172a;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dash-input--lg {
    font-size: 1.15rem;
    font-weight: 600;
}

.dash-input--textarea {
    resize: vertical;
    min-height: 88px;
}

.dash-input:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.dash-input:focus {
    outline: none;
    border-color: #ffffff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(24, 88, 53, 0.12);
}

.dash-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dash-service-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dash-service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dash-service-option:hover {
    border-color: rgba(24, 88, 53, 0.35);
}

.dash-service-option--active {
    border-color: #ffffff;
    background: var(--bokeko-accent-soft);
    box-shadow: 0 4px 16px rgba(24, 88, 53, 0.1);
}

.dash-service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.dash-service-icon--delivery {
    background: linear-gradient(135deg, var(--bokeko-primary), var(--bokeko-primary-light));
    color: #fff;
}

.dash-service-icon--shipment {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.dash-service-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.dash-service-text strong {
    font-size: 0.9rem;
    color: #0f172a;
}

.dash-service-text small {
    font-size: 0.8rem;
    color: #64748b;
}

.dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dash-btn--block {
    width: 100%;
}

.dash-btn--primary {
    background: linear-gradient(135deg, var(--bokeko-primary), var(--bokeko-primary-light));
    color: #fff;
    box-shadow: 0 6px 20px rgba(24, 88, 53, 0.28);
}

.dash-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(24, 88, 53, 0.32);
}

.dash-btn--ghost {
    background: #fff;
    color: #ffffff;
    border: 1px solid rgba(24, 88, 53, 0.25);
}

.dash-btn--ghost:hover {
    background: var(--bokeko-accent-soft);
}

.dash-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.dash-link:hover {
    text-decoration: underline;
}

.dash-delivery-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-delivery-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border-left: 4px solid #cbd5e1;
}

.dash-delivery-item--pending { border-left-color: #ffffff; }
.dash-delivery-item--accepted { border-left-color: #3b82f6; }
.dash-delivery-item--picked_up { border-left-color: #8b5cf6; }
.dash-delivery-item--delivering { border-left-color: #06b6d4; }
.dash-delivery-item--delivered { border-left-color: #185835; }
.dash-delivery-item--canceled { border-left-color: #ef4444; }

.dash-delivery-type {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
}

.dash-delivery-desc {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}

.dash-delivery-route {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

.dash-delivery-route span {
    color: #ffffff;
    margin: 0 4px;
}

.dash-delivery-recipient {
    margin: 6px 0 0;
    font-size: 0.8rem;
    color: #475569;
}

.dash-delivery-recipient a {
    color: var(--bokeko-primary, #185835);
    font-weight: 600;
    text-decoration: none;
}

.dash-delivery-payment {
    margin-top: 8px;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid #f0c000;
    background: linear-gradient(180deg, rgba(240, 192, 0, 0.1), rgba(24, 88, 53, 0.06));
}

.dash-delivery-payment-lead {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
}

.dash-delivery-payment-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-delivery-payment-hint {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: #b45309;
}

.dash-link-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    border: none;
    background: none;
    color: var(--bokeko-primary, #185835);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.dash-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dash-delivery-time {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.dash-delivery-meta {
    text-align: right;
    flex-shrink: 0;
}

.dash-delivery-price {
    display: block;
    font-weight: 800;
    color: #ffffff;
    font-size: 0.95rem;
}

.dash-status {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-status--pending { background: #F0C000; color: #ffffff; }
.dash-status--accepted { background: #dbeafe; color: #1d4ed8; }
.dash-status--picked_up { background: #ede9fe; color: #6d28d9; }
.dash-status--delivering { background: #cffafe; color: #0e7490; }
.dash-status--delivered { background: #185835; color: #ffffff; }
.dash-status--canceled { background: #fee2e2; color: #b91c1c; }

.dash-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
}

.dash-notif-item {
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 3px solid var(--notif-accent, #cbd5e1);
}

.dash-notif-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.dash-notif-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0f172a;
}

.dash-notif-price {
    font-weight: 700;
    font-size: 0.8rem;
    color: #ffffff;
}

.dash-notif-msg {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.dash-notif-time {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: #94a3b8;
}

.dash-empty {
    text-align: center;
    padding: 36px 16px;
    color: #94a3b8;
}

.dash-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.dash-empty p {
    margin: 0;
    font-size: 0.875rem;
}

/* Modales dashboard */
.dash-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dash-modal--open {
    display: flex;
}

.dash-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.dash-modal-panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(24, 88, 53, 0.1);
}

.dash-modal-panel--wide {
    max-width: 520px;
}

.dash-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.dash-modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.dash-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.dash-modal-close:hover {
    background: var(--bokeko-accent-soft);
    color: #ffffff;
}

.dash-modal-lead {
    margin: -8px 0 20px;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.dash-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-maishapay-brand {
    text-align: center;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    margin-bottom: 4px;
}

.dash-maishapay-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.dash-maishapay-tag {
    font-size: 0.8rem;
    color: #94a3b8;
}

.dash-quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.dash-chip {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dash-chip:hover {
    border-color: #ffffff;
    background: var(--bokeko-accent-soft);
    color: #ffffff;
}

.dash-info-box {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bokeko-accent-soft);
    border: 1px solid rgba(24, 88, 53, 0.2);
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.45;
}

.dash-photo-preview-wrap {
    text-align: center;
}

.dash-photo-preview {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bokeko-primary);
}

.dash-photo-preview-wrap span {
    font-size: 0.875rem;
    color: #64748b;
}

.dash-input--file {
    padding: 16px;
    border-style: dashed;
    cursor: pointer;
}

.dash-modal-actions-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-modal-actions-row .dash-btn {
    flex: 1;
    min-width: 120px;
}

.app-column-main > .app-card,
.app-column-side > .app-card {
    margin-bottom: 24px;
}

.app-column-main > .app-card:last-child,
.app-column-side > .app-card:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .dash-welcome {
        padding: 22px 20px;
    }

    .dash-welcome-stats {
        width: 100%;
    }

    .dash-stat {
        flex: 1;
        min-width: 0;
    }

    .dash-service-grid,
    .dash-form-row {
        grid-template-columns: 1fr;
    }

    .dash-delivery-item {
        flex-direction: column;
    }

    .dash-delivery-meta {
        text-align: left;
    }

    .dash-quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* QUICK DELIVERY FORM */
.quick-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quick-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: #374151;
}

.quick-form-field.small {
    max-width: 220px;
}

.quick-form-field input,
.quick-form-field select {
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.85rem;
}

.quick-form-estimate {
    border-radius: 10px;
    border: 1px dashed #d1d5db;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
    color: #6b7280;
}

.quick-form-estimate-label {
    font-weight: 600;
    color: #020617;
}

.quick-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.quick-form-hint {
    font-size: 0.75rem;
    color: #6b7280;
}

.quick-form-submit {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: var(--bokeko-primary);
    color: #020617;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* HERO ACCUEIL */
@keyframes hero-gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-simple {
    position: relative;
    overflow: hidden;
    color: var(--bokeko-white);
    padding: 88px 24px 96px;
    text-align: left;
    background: linear-gradient(
        -45deg,
        var(--bokeko-black) 0%,
        var(--bokeko-primary) 22%,
        var(--bokeko-white) 42%,
        var(--bokeko-primary-light) 58%,
        var(--bokeko-black) 78%,
        var(--bokeko-primary) 100%
    );
    background-size: 320% 320%;
    animation: hero-gradient-flow 14s ease infinite;
}

.hero-simple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(24, 88, 53, 0.2) 100%
    );
    pointer-events: none;
}

.hero-simple-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: left;
}

.hero-simple-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px 48px;
}

.hero-simple-content {
    min-width: 0;
}

.hero-simple-screens {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    padding: 12px 0;
}

.hero-screen {
    display: block;
    width: auto;
    height: clamp(320px, 42vw, 520px);
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s ease;
}

.hero-screen--back {
    position: relative;
    z-index: 1;
    margin-right: -72px;
    transform: rotate(-6deg) translateY(12px);
}

.hero-screen--front {
    position: relative;
    z-index: 2;
    transform: rotate(4deg);
}

.hero-simple-screens:hover .hero-screen--back {
    transform: rotate(-4deg) translateY(6px) scale(1.02);
}

.hero-simple-screens:hover .hero-screen--front {
    transform: rotate(2deg) scale(1.03);
}

.hero-simple-title {
    margin: 0 0 28px;
    max-width: 18ch;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: left;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-simple-subtitle {
    margin: 0 0 36px;
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.55;
    font-weight: 400;
    text-align: left;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero-simple-subtitle span {
    display: block;
    text-align: left;
}

.hero-simple-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-simple {
        animation: none;
        background: linear-gradient(135deg, var(--bokeko-black) 0%, var(--bokeko-primary) 55%, var(--bokeko-primary-light) 100%);
        background-size: 100% 100%;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn--light {
    background: var(--bokeko-white);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-btn--light:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-btn--outline {
    background: transparent;
    color: var(--bokeko-white);
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.hero-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
    .hero-simple-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-simple-screens {
        order: -1;
        min-height: 280px;
        padding: 0;
    }

    .hero-screen {
        height: clamp(260px, 55vw, 380px);
    }

    .hero-screen--back {
        margin-right: -48px;
    }
}

@media (max-width: 768px) {
    .hero-simple {
        padding: 64px 20px 72px;
    }

    .hero-simple-inner {
        padding: 0 16px;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-screen--back {
        margin-right: -32px;
        transform: rotate(-5deg) translateY(8px);
    }

    .hero-screen--front {
        transform: rotate(3deg);
    }
}

/* TRUST STRIP */
.trust-strip {
    padding: 40px 0 44px;
    background: linear-gradient(180deg, var(--bokeko-accent-soft) 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(24, 88, 53, 0.08);
}

.trust-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 40px 48px;
}

.trust-copy {
    max-width: 320px;
    text-align: left;
}

.trust-label {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.trust-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #64748b;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.trust-logo-item {
    margin: 0;
    min-width: 0;
    aspect-ratio: 1 / 1;
}

.trust-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    padding: 16px;
    background: var(--bokeko-white);
    border-radius: 16px;
    border: 1px solid rgba(24, 88, 53, 0.1);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 6px 16px rgba(24, 88, 53, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trust-logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 88, 53, 0.22);
    box-shadow:
        0 4px 12px rgba(24, 88, 53, 0.12),
        0 12px 28px rgba(24, 88, 53, 0.08);
}

.trust-logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 52%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.trust-logo-card:hover .trust-logo-img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .trust-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .trust-copy {
        max-width: none;
    }

    .trust-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .trust-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 10px;
        max-width: none;
    }

    .trust-logo-card {
        padding: 12px;
        border-radius: 14px;
    }
}

/* FEATURES SECTION */
.features-section {
    padding: 72px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 88, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 122, 78, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.features-section-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-section-header {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.features-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(24, 88, 53, 0.12);
    border: 1px solid rgba(24, 88, 53, 0.15);
    color: #185835;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.features-section-title {
    margin: 0 0 16px;
    font-size: clamp(1.65rem, 3.8vw, 2.35rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bokeko-black);
}

.features-section-lead {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.65;
    color: #64748b;
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feature-card-pro {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 24px 24px;
    border-radius: 20px;
    background: var(--bokeko-white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(24, 88, 53, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card-pro:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 88, 53, 0.18);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.04),
        0 20px 40px rgba(24, 88, 53, 0.12);
}

.feature-card-pro-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-card-pro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--bokeko-primary) 0%, var(--bokeko-primary-light) 100%);
    color: var(--bokeko-white);
    box-shadow: 0 8px 20px rgba(24, 88, 53, 0.28);
}

.feature-card-pro-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card-pro-tag {
    padding: 5px 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.feature-card-pro-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.feature-card-pro-text {
    margin: 0 0 18px;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.feature-card-pro-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.feature-card-pro-points li {
    position: relative;
    padding-left: 22px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #185835;
}

.feature-card-pro-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bokeko-accent-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185835' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1024px) {
    .features-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .features-section {
        padding: 52px 0 56px;
    }

    .features-section-header {
        margin-bottom: 32px;
        text-align: left;
    }

    .features-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card-pro {
        padding: 22px 20px;
    }
}

/* APPS DOWNLOAD */
.apps-download {
    padding: 64px 0 72px;
    background: linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.apps-download-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.apps-download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px 56px;
}

.apps-download-left {
    min-width: 0;
}

.apps-download-header {
    margin: 0 0 28px;
    text-align: left;
    max-width: 520px;
}

.apps-download-header h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: #020617;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.apps-download-header p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4b5563;
}

.apps-download-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.app-download-block {
    padding: 22px 24px;
    border-radius: 18px;
    background: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.app-download-block h3 {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.app-download-tag {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(24, 88, 53, 0.12);
    color: #185835;
    margin-bottom: 10px;
}

.app-download-tag--drive {
    background: #f1f5f9;
    color: #334155;
}

.apps-download-screens {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

.apps-download-screen {
    display: block;
    width: auto;
    height: clamp(280px, 38vw, 480px);
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.2));
}

.apps-download-screen--back {
    position: relative;
    z-index: 1;
    margin-right: -64px;
    transform: rotate(-5deg) translateY(10px);
}

.apps-download-screen--front {
    position: relative;
    z-index: 2;
    transform: rotate(4deg);
}

.apps-download-screens:hover .apps-download-screen--back {
    transform: rotate(-3deg) translateY(6px) scale(1.02);
}

.apps-download-screens:hover .apps-download-screen--front {
    transform: rotate(2deg) scale(1.03);
}

.store-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-badge {
    flex: 1 1 140px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: #020617;
    color: #f9fafb;
    text-decoration: none;
    border: 1px solid #020617;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.store-badge--pending {
    opacity: 0.72;
    cursor: pointer;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 0;
    text-align: center;
}

.store-badge-kicker {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.75;
}

.store-badge-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.store-badge--ios {
    background: #000000;
}

@media (max-width: 960px) {
    .apps-download-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .apps-download-screens {
        order: -1;
        min-height: 300px;
    }

    .apps-download-screen {
        height: clamp(240px, 50vw, 360px);
    }

    .apps-download-screen--back {
        margin-right: -48px;
    }

    .apps-download-header {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .apps-download-screen--back {
        margin-right: -32px;
    }

    .store-badge-row {
        flex-direction: column;
    }

    .store-badge {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* METRICS BAND */
.metrics-band {
    position: relative;
    overflow: hidden;
    padding: 56px 0 64px;
    background: linear-gradient(135deg, #0a0a0a 0%, #F0C000 45%, #F0C000 100%);
    color: var(--bokeko-white);
}

.metrics-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(42, 122, 78, 0.25), transparent 55%),
        radial-gradient(ellipse 50% 60% at 90% 20%, rgba(255, 255, 255, 0.06), transparent 50%);
    pointer-events: none;
}

.metrics-band-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.metrics-band-eyebrow {
    margin: 0 0 28px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.metric-card::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bokeko-primary-light), rgba(255, 255, 255, 0.5));
    margin-bottom: 4px;
}

.metric-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.metric-card-value {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--bokeko-white);
}

.metric-card-label {
    font-size: 0.875rem;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

/* ENTERPRISE CTA */
.enterprise-cta {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
}

.enterprise-cta-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.enterprise-cta-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #F0C000 42%, var(--bokeko-primary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 64px rgba(24, 88, 53, 0.22),
        0 40px 80px rgba(0, 0, 0, 0.18);
}

.enterprise-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(42, 122, 78, 0.35), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 255, 255, 0.06), transparent 50%);
    pointer-events: none;
}

.enterprise-cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 48px 48px 48px 52px;
}

.enterprise-cta-content {
    color: var(--bokeko-white);
}

.enterprise-cta-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.enterprise-cta-title {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.enterprise-cta-lead {
    margin: 0 0 28px;
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.enterprise-cta-benefits {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.enterprise-cta-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.enterprise-cta-benefit-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.enterprise-cta-benefit-icon svg {
    width: 12px;
    height: 12px;
}

.enterprise-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.enterprise-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.enterprise-cta-btn:hover {
    transform: translateY(-2px);
}

.enterprise-cta-btn--primary {
    background: var(--bokeko-white);
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.enterprise-cta-btn--primary:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.enterprise-cta-btn--ghost {
    background: transparent;
    color: var(--bokeko-white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.enterprise-cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.65);
}

.enterprise-cta-footnote {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.enterprise-cta-visual {
    position: relative;
    min-height: 340px;
    border-radius: 20px;
    overflow: hidden;
}

.enterprise-cta-visual-photo {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/7653815/pexels-photo-7653815.jpeg?auto=compress&cs=tinysrgb&w=900');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.enterprise-cta-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.15) 0%, rgba(24, 88, 53, 0.55) 100%);
}

.enterprise-cta-float {
    position: absolute;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    min-width: 160px;
}

.enterprise-cta-float--top {
    top: 20px;
    left: 16px;
}

.enterprise-cta-float--bottom {
    bottom: 24px;
    right: 16px;
}

.enterprise-cta-float-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 4px;
}

.enterprise-cta-float-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.enterprise-cta-float-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #94a3b8;
}

.enterprise-cta-badge {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--bokeko-primary);
    color: var(--bokeko-white);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 16px 40px rgba(24, 88, 53, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.enterprise-cta-badge-sep {
    opacity: 0.65;
    font-weight: 400;
}

@media (max-width: 960px) {
    .enterprise-cta-grid {
        grid-template-columns: 1fr;
        padding: 36px 28px 32px;
        gap: 28px;
    }

    .enterprise-cta-visual {
        min-height: 280px;
        order: -1;
    }

    .enterprise-cta-lead {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .enterprise-cta {
        padding: 40px 0 48px;
    }

    .enterprise-cta-grid {
        padding: 28px 20px 24px;
    }

    .enterprise-cta-btn {
        width: 100%;
    }

    .enterprise-cta-float--top {
        left: 12px;
        top: 12px;
        min-width: 140px;
    }

    .enterprise-cta-float--bottom {
        right: 12px;
        bottom: 16px;
        min-width: 140px;
    }
}

/* FOOTER */

.landing-footer {
    padding: 26px 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    color: #111827;
}

/* WELCOME MODAL */
.welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.welcome-modal.is-hidden {
    display: none;
}

.welcome-modal:not(.is-hidden) .welcome-modal-backdrop {
    animation: welcomeBackdropIn 0.35s ease-out both;
}

.welcome-modal:not(.is-hidden) .welcome-modal-card {
    animation: welcomePopIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.welcome-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.welcome-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    background: var(--bokeko-white);
    border: 1px solid rgba(24, 88, 53, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 64px rgba(24, 88, 53, 0.14),
        0 40px 80px rgba(15, 23, 42, 0.12);
    padding: 32px 28px 28px;
    text-align: center;
    color: #0f172a;
}

.welcome-modal-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.welcome-modal-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--bokeko-accent-soft) 0%, #ffffff 100%);
    border: 1px solid rgba(24, 88, 53, 0.14);
    box-shadow:
        0 8px 24px rgba(24, 88, 53, 0.1),
        0 0 0 6px rgba(232, 245, 236, 0.6);
}

.welcome-modal-logo {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.welcome-modal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #185835;
    background: rgba(24, 88, 53, 0.12);
    border: 1px solid rgba(24, 88, 53, 0.18);
}

.welcome-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.welcome-modal-close:hover {
    background: var(--bokeko-accent-soft);
    color: #ffffff;
    transform: scale(1.05);
}

.welcome-modal-close:focus-visible {
    outline: 2px solid var(--bokeko-primary);
    outline-offset: 2px;
}

.welcome-modal-title {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--bokeko-black);
}

.welcome-modal-text {
    margin: 0 auto;
    max-width: 34ch;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.welcome-modal-highlights {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.welcome-modal-highlights li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--bokeko-accent-soft);
    border: 1px solid rgba(24, 88, 53, 0.14);
}

.welcome-modal-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.welcome-modal-btn {
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 11px 22px;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.welcome-modal-btn:hover {
    transform: translateY(-2px);
}

.welcome-modal-btn-primary {
    border: none;
    background: var(--bokeko-primary);
    color: var(--bokeko-white);
    box-shadow: 0 6px 20px rgba(24, 88, 53, 0.28);
}

.welcome-modal-btn-primary:hover {
    background: var(--bokeko-primary-light);
    box-shadow: 0 10px 28px rgba(24, 88, 53, 0.32);
}

.welcome-modal-btn-secondary {
    border: 1px solid #e2e8f0;
    background: var(--bokeko-white);
    color: #475569;
}

.welcome-modal-btn-secondary:hover {
    border-color: rgba(24, 88, 53, 0.25);
    color: #ffffff;
    background: #f8fafc;
}

@keyframes welcomeBackdropIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes welcomePopIn {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-modal:not(.is-hidden) .welcome-modal-backdrop,
    .welcome-modal:not(.is-hidden) .welcome-modal-card {
        animation: none;
    }
}

@media (max-width: 900px) {
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .metric-card {
        padding: 22px 20px;
    }
    .welcome-modal-card {
        max-width: min(440px, 100%);
        padding: 28px 22px 24px;
    }

    .welcome-modal-logo-wrap {
        width: 100px;
        height: 100px;
        border-radius: 24px;
    }

    .welcome-modal-logo {
        width: 64px;
        height: 64px;
    }

    .welcome-modal-actions {
        flex-direction: column-reverse;
    }

    .welcome-modal-btn {
        width: 100%;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-simple {
        padding: 56px 16px 64px;
    }
}

@media (max-width: 520px) {
    .metrics-band {
        padding: 44px 0 48px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-card {
        align-items: center;
        text-align: center;
    }

    .metric-card::before {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Auth — responsive */
@media (max-width: 860px) {
    .auth-page {
        padding: 24px 16px 40px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .auth-aside {
        padding: 28px 24px;
        text-align: center;
        align-items: center;
    }

    .auth-aside-logo-link {
        margin-bottom: 16px;
    }

    .auth-aside-icon-wrap {
        margin-bottom: 14px;
    }

    .auth-aside-tagline {
        max-width: none;
        margin-bottom: 20px;
    }

    .auth-aside-features {
        width: 100%;
        max-width: 320px;
    }

    .auth-aside-features li {
        text-align: left;
    }

    .auth-card {
        padding: 28px 24px 24px;
    }
}

/* App — grille & formulaires responsive */
@media (max-width: 960px) {
    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(304px, 88vw);
        z-index: 220;
        transform: translateX(-100%);
        transition: transform 0.38s cubic-bezier(0.34, 1.15, 0.64, 1);
        box-shadow: none;
        border-right: 1px solid #111827;
    }

    .app-sidebar.app-sidebar--open {
        transform: translateX(0);
        box-shadow: 16px 0 48px rgba(0, 0, 0, 0.35);
    }

    .app-main {
        min-width: 0;
    }

    .app-header {
        padding: 0 14px 0 12px;
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .app-header-right {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 8px;
    }

    .app-header-label {
        display: none;
    }

    .app-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .quick-form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .quick-form-field.small {
        max-width: none;
    }

    .app-menu-toggle {
        display: inline-flex;
    }

    .app-header-brand span {
        font-size: 0.8rem;
        max-width: 42vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.app-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.app-sidebar-backdrop-enter {
    transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-sidebar-backdrop-enter-start,
.app-sidebar-backdrop-leave-end {
    opacity: 0;
}

.app-sidebar-backdrop-enter-end,
.app-sidebar-backdrop-leave-start {
    opacity: 1;
}

.app-sidebar-backdrop-leave {
    transition: opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 8px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 56;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.app-menu-toggle:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.app-menu-toggle:focus-visible {
    outline: 2px solid #f0c000;
    outline-offset: 2px;
}

.app-menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.app-menu-toggle-line {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #0f172a;
}

@media (min-width: 961px) {
    .app-sidebar-backdrop {
        display: none !important;
    }
}

/* ==========================================================================
   LANDING — animations & transitions globales
   ========================================================================== */

.landing-page {
    --landing-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --landing-ease-spring: cubic-bezier(0.34, 1.15, 0.64, 1);
    --landing-duration: 0.72s;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .landing-page {
        scroll-behavior: auto;
    }
}

/* Header — entrée + scroll */
.landing-page .landing-header {
    transition:
        background 0.45s var(--landing-ease-out),
        box-shadow 0.45s var(--landing-ease-out),
        border-color 0.45s var(--landing-ease-out);
}

.landing-page.landing-motion-ready .landing-header {
    animation: landing-header-in 0.65s var(--landing-ease-out) both;
}

.landing-page .landing-header--scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.landing-page .nav-link {
    position: relative;
    transition: color 0.3s var(--landing-ease-out);
}

.landing-page .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--bokeko-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--landing-ease-out);
}

.landing-page .nav-link:hover {
    color: #ffffff;
}

.landing-page .nav-link:hover::after {
    transform: scaleX(1);
}

.landing-page .btn-outline-small,
.landing-page .btn-primary-small {
    transition:
        transform 0.32s var(--landing-ease-out),
        box-shadow 0.32s var(--landing-ease-out),
        background 0.32s ease,
        border-color 0.32s ease,
        color 0.32s ease;
}

.landing-page .btn-outline-small:hover,
.landing-page .btn-primary-small:hover {
    transform: translateY(-2px);
}

/* Révélation au scroll */
.landing-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity var(--landing-duration) var(--landing-ease-out),
        transform var(--landing-duration) var(--landing-ease-out);
    will-change: opacity, transform;
}

.landing-reveal.is-visible,
.landing-motion-reduced .landing-reveal {
    opacity: 1;
    transform: none;
    will-change: auto;
}

.landing-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.58s var(--landing-ease-out),
        transform 0.58s var(--landing-ease-spring);
}

.landing-stagger.is-visible > *,
.landing-motion-reduced .landing-stagger > * {
    opacity: 1;
    transform: none;
}

.landing-stagger.is-visible > *:nth-child(1),
.landing-motion-reduced .landing-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.landing-stagger.is-visible > *:nth-child(2),
.landing-motion-reduced .landing-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.landing-stagger.is-visible > *:nth-child(3),
.landing-motion-reduced .landing-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.landing-stagger.is-visible > *:nth-child(4),
.landing-motion-reduced .landing-stagger > *:nth-child(4) { transition-delay: 0.22s; }
.landing-stagger.is-visible > *:nth-child(5),
.landing-motion-reduced .landing-stagger > *:nth-child(5) { transition-delay: 0.28s; }
.landing-stagger.is-visible > *:nth-child(6),
.landing-motion-reduced .landing-stagger > *:nth-child(6) { transition-delay: 0.34s; }

/* Hero — entrée au chargement */
@keyframes landing-header-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes landing-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes landing-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes landing-hero-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes landing-shine-sweep {
    0% {
        transform: translateX(-120%) skewX(-12deg);
    }
    100% {
        transform: translateX(220%) skewX(-12deg);
    }
}

.landing-page.landing-motion-ready .landing-hero .hero-simple-title {
    animation: landing-fade-up 0.9s var(--landing-ease-out) 0.12s both;
}

.landing-page.landing-motion-ready .landing-hero .hero-simple-subtitle span:nth-child(1) {
    animation: landing-fade-up 0.75s var(--landing-ease-out) 0.28s both;
}

.landing-page.landing-motion-ready .landing-hero .hero-simple-subtitle span:nth-child(2) {
    animation: landing-fade-up 0.75s var(--landing-ease-out) 0.38s both;
}

.landing-page.landing-motion-ready .landing-hero .hero-simple-subtitle span:nth-child(3) {
    animation: landing-fade-up 0.75s var(--landing-ease-out) 0.48s both;
}

.landing-page.landing-motion-ready .landing-hero .hero-simple-actions {
    animation: landing-fade-up 0.8s var(--landing-ease-out) 0.58s both;
}

.landing-page.landing-motion-ready .landing-hero .hero-simple-screens {
    animation: landing-fade-in 1s var(--landing-ease-out) 0.35s both;
}

.landing-page.landing-motion-ready .landing-hero .hero-screen--back {
    animation: landing-hero-float-back 7s ease-in-out 1.2s infinite;
}

.landing-page.landing-motion-ready .landing-hero .hero-screen--front {
    animation: landing-hero-float-front 6s ease-in-out 0.9s infinite;
}

@keyframes landing-hero-float-back {
    0%,
    100% {
        transform: rotate(-6deg) translateY(12px);
    }
    50% {
        transform: rotate(-5deg) translateY(2px);
    }
}

@keyframes landing-hero-float-front {
    0%,
    100% {
        transform: rotate(4deg) translateY(0);
    }
    50% {
        transform: rotate(3deg) translateY(-10px);
    }
}

.landing-page .hero-btn {
    transition:
        transform 0.35s var(--landing-ease-spring),
        box-shadow 0.35s var(--landing-ease-out),
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.landing-page .hero-btn:active {
    transform: translateY(0) scale(0.98);
}

.landing-page .hero-screen {
    transition:
        transform 0.5s var(--landing-ease-spring),
        filter 0.4s ease;
}

.landing-page .hero-simple-screens:hover .hero-screen--back {
    transform: rotate(-4deg) translateY(4px) scale(1.03);
}

.landing-page .hero-simple-screens:hover .hero-screen--front {
    transform: rotate(2deg) translateY(-4px) scale(1.04);
}

/* Cartes & blocs — hovers enrichis */
.landing-page .trust-logo-card,
.landing-page .feature-card-pro,
.landing-page .metric-card,
.landing-page .app-download-block {
    transition:
        transform 0.4s var(--landing-ease-spring),
        box-shadow 0.4s var(--landing-ease-out),
        border-color 0.35s ease,
        background 0.35s ease;
}

.landing-page .trust-logo-card:hover,
.landing-page .feature-card-pro:hover,
.landing-page .metric-card:hover {
    transform: translateY(-6px) scale(1.01);
}

.landing-page .feature-card-pro-icon {
    transition: transform 0.4s var(--landing-ease-spring);
}

.landing-page .feature-card-pro:hover .feature-card-pro-icon {
    transform: scale(1.08) rotate(-3deg);
}

.landing-page .store-badge {
    transition:
        transform 0.35s var(--landing-ease-spring),
        box-shadow 0.35s var(--landing-ease-out),
        opacity 0.3s ease;
}

.landing-page .store-badge:hover {
    transform: translateY(-3px);
}

/* Apps — écrans flottants */
@keyframes landing-apps-float-back {
    0%,
    100% {
        transform: rotate(-5deg) translateY(8px);
    }
    50% {
        transform: rotate(-4deg) translateY(0);
    }
}

@keyframes landing-apps-float-front {
    0%,
    100% {
        transform: rotate(3deg);
    }
    50% {
        transform: rotate(2deg) translateY(-8px);
    }
}

.landing-page.landing-motion-ready .apps-download-screen--back {
    animation: landing-apps-float-back 7.5s ease-in-out infinite;
}

.landing-page.landing-motion-ready .apps-download-screen--front {
    animation: landing-apps-float-front 6.5s ease-in-out 0.6s infinite;
}

.landing-page .apps-download-screen {
    transition: transform 0.5s var(--landing-ease-spring);
}

/* Métriques — léger pulse sur la bande */
.landing-page.landing-motion-ready .metrics-band::before {
    animation: landing-metrics-glow 10s ease-in-out infinite alternate;
}

@keyframes landing-metrics-glow {
    from {
        opacity: 0.85;
    }
    to {
        opacity: 1;
    }
}

/* Enterprise — cartes flottantes + carte principale */
.landing-page.landing-motion-ready .enterprise-cta-float--top {
    animation: landing-enterprise-float 5.5s ease-in-out infinite;
}

.landing-page.landing-motion-ready .enterprise-cta-float--bottom {
    animation: landing-enterprise-float 5.5s ease-in-out 0.75s infinite;
}

@keyframes landing-enterprise-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.landing-page .enterprise-cta-card {
    transition:
        transform 0.5s var(--landing-ease-out),
        box-shadow 0.5s var(--landing-ease-out);
}

.landing-motion-reduced .enterprise-cta-card {
    animation: none;
}

.landing-page .enterprise-cta-btn {
    transition:
        transform 0.35s var(--landing-ease-spring),
        box-shadow 0.35s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.landing-page .enterprise-cta-btn:hover {
    transform: translateY(-3px);
}

.landing-page .enterprise-cta-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Footer */
.landing-page .landing-footer a {
    transition: color 0.25s ease, opacity 0.25s ease;
}

.landing-page .landing-footer a:hover {
    color: #ffffff;
}

/* Features — orbes décoratifs */
.landing-page.landing-motion-ready .features-section::before {
    animation: landing-orb-drift 18s ease-in-out infinite alternate;
}

.landing-page.landing-motion-ready .features-section::after {
    animation: landing-orb-drift 22s ease-in-out 2s infinite alternate-reverse;
}

@keyframes landing-orb-drift {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(24px, 16px) scale(1.06);
    }
}

/* Accessibilité — désactiver animations lourdes */
@media (prefers-reduced-motion: reduce) {
    .landing-reveal,
    .landing-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .landing-page.landing-motion-ready .landing-hero .hero-simple-title,
    .landing-page.landing-motion-ready .landing-hero .hero-simple-subtitle span,
    .landing-page.landing-motion-ready .landing-hero .hero-simple-actions,
    .landing-page.landing-motion-ready .landing-hero .hero-simple-screens,
    .landing-page.landing-motion-ready .landing-header,
    .landing-page.landing-motion-ready .landing-hero .hero-screen--back,
    .landing-page.landing-motion-ready .landing-hero .hero-screen--front,
    .landing-page.landing-motion-ready .apps-download-screen--back,
    .landing-page.landing-motion-ready .apps-download-screen--front,
    .landing-page.landing-motion-ready .enterprise-cta-float--top,
    .landing-page.landing-motion-ready .enterprise-cta-float--bottom,
    .landing-page.landing-motion-ready .features-section::before,
    .landing-page.landing-motion-ready .features-section::after,
    .landing-page.landing-motion-ready .metrics-band::before {
        animation: none;
    }
}

/* ——— Textes jaunes → blanc (plateforme web) ——— */
[style*="color: #F0C000"],
[style*="color:#F0C000"],
.text-amber-400,
.text-amber-300,
.hover\:text-amber-300:hover {
    color: #ffffff !important;
}

.app-on-dark-card,
.app-on-dark-card h1,
.app-on-dark-card p,
.app-on-dark-card span,
.app-on-dark-card div {
    color: #ffffff !important;
}

.app-on-dark-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #185835 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.goeat-page a[style*="color: #F0C000"],
.goeat-page span[style*="color: #F0C000"],
.goeat-page div[style*="color: #F0C000"] {
    color: #ffffff !important;
}

.goeat-page span[style*="color: #F0C000"] {
    background: #185835;
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
}

.goeat-page a[style*="color: #F0C000"] {
    background: transparent;
    padding: 0;
}

/* Lisibilité sur fond clair (liens / prix / boutons fantômes) */
.auth-switch a,
.auth-switch a:hover,
.dash-btn--ghost,
.dash-btn--ghost:hover,
.dash-delivery-price,
.dash-link,
.dash-link:hover,
.dash-delivery-route span,
.hero-btn--light,
.hero-btn--light:hover {
    color: #185835 !important;
}

/* Carte livreur (client) */
.delivery-driver-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(24, 88, 53, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%);
    border: 1px solid rgba(24, 88, 53, 0.18);
}

.delivery-driver-card--pending {
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #64748b;
}

.delivery-driver-card__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(24, 88, 53, 0.25);
    flex-shrink: 0;
}

.delivery-driver-card__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 2px;
}

.delivery-driver-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.delivery-driver-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: #475569;
}

.delivery-driver-card__meta li span {
    font-weight: 600;
    color: #185835;
    margin-right: 6px;
}

.delivery-driver-card__meta a {
    color: #185835;
    font-weight: 600;
    text-decoration: none;
}

.delivery-driver-card__meta a:hover {
    text-decoration: underline;
}

.delivery-client-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.delivery-client-actions__btn {
    font-size: 0.8rem;
    padding: 8px 14px;
}

.delivery-client-actions__btn--danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.delivery-client-actions__btn--danger:hover {
    background: #fee2e2;
}

.dash-delivery-driver-hint {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.dash-delivery-driver-hint a {
    color: #185835;
    font-weight: 600;
    text-decoration: none;
}

/* Suivi livraison en direct (client web) */
.delivery-live-track {
    border: 1px solid rgba(24, 88, 53, 0.2);
    border-radius: 16px;
    padding: 16px;
    background: #fff;
}

.delivery-live-track--ended {
    opacity: 0.92;
}

.delivery-live-track__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.delivery-live-track__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #185835;
}

.delivery-live-track__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: delivery-live-pulse 1.6s ease-out infinite;
}

@keyframes delivery-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.delivery-live-track__status {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.delivery-live-track__status--pending { color: #64748b; }
.delivery-live-track__status--accepted { color: #2563eb; }
.delivery-live-track__status--picked { color: #7c3aed; }
.delivery-live-track__status--delivering { color: #0891b2; }
.delivery-live-track__status--done { color: #185835; }
.delivery-live-track__status--canceled { color: #b91c1c; }

.delivery-live-track__map {
    width: 100%;
    height: 280px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #e2e8f0;
}

.delivery-live-track__map--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #64748b;
    padding: 16px;
    text-align: center;
}

.delivery-live-track__map .mapboxgl-map {
    border-radius: 14px;
}

.delivery-live-track__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .delivery-live-track__grid {
        grid-template-columns: 1fr;
    }
}

.delivery-live-track__route-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 8px;
}

.delivery-live-track__route p {
    margin: 0 0 6px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
}

.delivery-live-track__route-line span:first-child {
    font-weight: 700;
    color: #185835;
    margin-right: 4px;
}

.delivery-live-track__waiting {
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    font-size: 0.875rem;
    color: #64748b;
}

.delivery-live-track__waiting p {
    margin: 0 0 6px;
    font-weight: 600;
    color: #0f172a;
}

.delivery-live-track__coords {
    margin: 10px 0 0;
    font-size: 0.75rem;
    color: #64748b;
}

