@import '_content/TaxiHub.Shared/TaxiHub.Shared.br4hpr1svd.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   ZEENA — MainLayout: full-bleed map + floating menu drawer
   ============================================================ */

.page[b-8gv1chreif] {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* --- Floating circular menu button, layered over the map --- */
.map-menu-btn[b-8gv1chreif] {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top, 0px));
    left: 16px;
    z-index: 1200;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.15s ease, transform 0.05s ease;
}
.map-menu-btn:hover[b-8gv1chreif] { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24); }
.map-menu-btn:active[b-8gv1chreif] { transform: scale(0.96); }

/* --- Drawer --- */
.drawer-overlay[b-8gv1chreif] {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0, 0, 0, 0.42);
    animation: zeena-fade-b-8gv1chreif 0.18s ease;
}

.drawer[b-8gv1chreif] {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1310;
    width: 288px;
    max-width: 84vw;
    background: #ffffff;
    box-shadow: 2px 0 32px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 18px calc(20px + env(safe-area-inset-bottom, 0px));
    animation: zeena-slide-in-b-8gv1chreif 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-head[b-8gv1chreif] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 0 6px;
}
.drawer-brand[b-8gv1chreif] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0a0a0a;
    text-decoration: none;
}
.drawer-close[b-8gv1chreif] {
    border: none;
    background: transparent;
    color: #6b7280;
    display: flex;
    padding: 4px;
    cursor: pointer;
    border-radius: 8px;
}
.drawer-close:hover[b-8gv1chreif] { background: #f3f3f3; color: #0a0a0a; }

.drawer-links[b-8gv1chreif] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
}
.drawer-links[b-8gv1chreif]  a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    border-radius: 10px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.15s ease;
}
.drawer-links[b-8gv1chreif]  a:hover { background: #f3f3f3; }
.drawer-links[b-8gv1chreif]  a.active { background: #0a0a0a; color: #ffffff; }

/* --- Drawer footer: status + install + logout --- */
.drawer-foot[b-8gv1chreif] {
    border-top: 1px solid #ececec;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.drawer-status[b-8gv1chreif] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #6b7280;
}
.drawer-status-dot[b-8gv1chreif] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #9ca3af;
}
.drawer-status-dot.connected[b-8gv1chreif] { background: #16a34a; }
.drawer-status-dot.connecting[b-8gv1chreif] { background: #d97706; animation: zeena-pulse-b-8gv1chreif 1.5s infinite; }
.drawer-status-dot.disconnected[b-8gv1chreif] { background: #dc2626; }
.drawer-role[b-8gv1chreif] {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0a0a0a;
    background: #f3f3f3;
    padding: 3px 8px;
    border-radius: 999px;
}
.drawer-install[b-8gv1chreif] {
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #0a0a0a;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 11px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.drawer-install:hover[b-8gv1chreif] { border-color: #0a0a0a; }
.drawer-logout[b-8gv1chreif] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: #0a0a0a;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.drawer-logout:hover[b-8gv1chreif] { background: #1a1a1a; }

/* --- Page content --- */
.page-content[b-8gv1chreif] {
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}
/* Dashboard: full-bleed, map extends edge to edge under floating UI. */
.page-content.full-bleed[b-8gv1chreif] {
    overflow: hidden;
}
/* Other pages: scroll. Secondary pages render their own sticky back-header at the
   top, so no extra top padding is needed here. */
.page-content.with-topgap[b-8gv1chreif] {
    overflow-y: auto;
}

@keyframes zeena-slide-in-b-8gv1chreif {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
@keyframes zeena-fade-b-8gv1chreif {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zeena-pulse-b-8gv1chreif {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
