/* ═══════════════════════════════════════════════════
   AL HADAF LAUNDRY — Shared Brand Nav
   /frontend/brand.css
═══════════════════════════════════════════════════ */

/* Top navigation bar */
.alh-nav {
    background: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
    gap: 6px;
}

/* Brand / Logo area */
.alh-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
    margin-right: 10px;
}
.alh-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background: #1e293b;
}
.alh-brand-name {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Scrollable nav links container */
.alh-nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.alh-nav-links::-webkit-scrollbar { display: none; }

/* Individual nav link */
.alh-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.alh-nav-link:hover {
    background: rgba(255,255,255,0.10);
    color: white;
}
.alh-nav-link.active {
    background: white;
    color: #0f172a;
}
.alh-nav-icon { font-size: 15px; line-height: 1; }
.alh-nav-label { font-size: 13px; }

/* Z-Report — gold accent (owner only) */
.alh-nav-link.zreport { color: #fbbf24; }
.alh-nav-link.zreport:hover {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
}
.alh-nav-link.zreport.active {
    background: #fbbf24;
    color: #0f172a;
}

/* User badge (right side) */
.alh-user {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 6px;
    transition: background 0.15s;
    color: white;
    text-decoration: none;
}
.alh-user:hover { background: rgba(255,255,255,0.18); }

/* ── Mobile ── */
@media (max-width: 520px) {
    .alh-brand-name { display: none; }
    .alh-nav-link   { padding: 8px 10px; }
    .alh-nav-label  { display: none; }
    .alh-nav-icon   { font-size: 19px; }
    .alh-logo-icon  { width: 32px; height: 32px; }
}

/* ── Print: hide nav ── */
@media print {
    .alh-nav { display: none !important; }
}
