/* ══════════════════════════════════════════════════════
   css/nav.css  –  Shared Navbar Styles
   Used by: index.php, hotel.php (and any future pages)
   v2: Bell removed → replaced with inline status pills
════════════════════════════════════════════════════════ */

/* ── Navbar shell ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 58px; z-index: 300;
    display: flex; align-items: center;
    justify-content: space-between; padding: 0 36px;
    background: #111111;
    transition: background .3s, box-shadow .3s;
    border: none;
    outline: none;
}
.navbar.scrolled {
    background: rgba(10,10,10,.97);
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 20px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
}

/* ── Logo ── */
.nav-logo { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none; 
    color: inherit;
    padding-left: 0;   /* flush to edge */
}
.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    border: none;
}
.nav-logo:hover { opacity: .9; }
.nav-logo-box {
    width: 30px; height: 30px; border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-size: .55rem; color: rgba(255,255,255,.45); letter-spacing: .03em;
}
.nav-brand { 
    transition: opacity 0.3s ease;
    font-family: 'Prompt', sans-serif; 
    font-size: 1.1rem;   /* was .95rem */
    font-weight: 700; 
    color: #fff; 
    letter-spacing: .06em; 
}

.navbar-transparent:not(.scrolled) .nav-brand {
    opacity: 0;
    pointer-events: none;
}

.btn-map-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #1a3a6b;
    border-radius: 5px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .15s, transform .15s;
}
.btn-map-pin:hover {
    background: #2257c5;
    transform: scale(1.1);
}
.btn-map-pin i {
    color: #fff;
    font-size: .8rem;
}

/* ── Center tabs ── */
.nav-tabs {
    display: flex; align-items: center; gap: 2px;
    position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-tab {
    padding: 6px 18px; border-radius: 6px;
    font-family: 'Prompt', sans-serif; font-size: .8rem; font-weight: 500;
    color: rgba(255,255,255,.65); text-decoration: none;
    transition: background .18s, color .18s; letter-spacing: .02em;
}
.nav-tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-tab.active { background: rgba(255,255,255,.14); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ══════════════════════════════════════════════════════
   STATUS PILLS  (replaces bell dropdown)
   A row of compact inline chips beside the profile icon.
   Each pill shows an icon + short label.
   On narrow screens the text collapses; icon stays.
════════════════════════════════════════════════════════ */
.status-pills {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1.5px solid transparent;
    transition: opacity .15s;
    cursor: default;
    max-width: 220px;
    overflow: hidden;
}
.status-pill .pill-icon { font-size: .85rem; flex-shrink: 0; }
.status-pill .pill-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Colour variants ── */
.pill-red {
    background: rgba(220, 38, 38, .18);
    border-color: rgba(220, 38, 38, .5);
    color: #fca5a5;
}
.pill-yellow {
    background: rgba(217, 119, 6, .2);
    border-color: rgba(217, 119, 6, .5);
    color: #fde68a;
}
.pill-green {
    background: rgba(16, 185, 129, .15);
    border-color: rgba(16, 185, 129, .4);
    color: #6ee7b7;
}

/* Collapse pill text on medium screens, keep icon */
@media (max-width: 1100px) {
    .status-pill .pill-text { display: none; }
    .status-pill { padding: 4px 7px; }
}
@media (max-width: 960px) {
    .nav-tabs { display: none; }
}
@media (max-width: 600px) {
    .navbar { padding: 0 18px; }
    .status-pills { gap: 4px; }
}

/* ── Login pill ── */
.btn-login-pill {
    background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.9);
    border-radius: 7px; padding: 6px 18px;
    font-family: 'Prompt', sans-serif; font-size: .8rem; font-weight: 500;
    cursor: pointer; transition: all .15s; letter-spacing: .03em;
}
.btn-login-pill:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ── Profile circle + dropdown ── */
.profile-wrap { position: relative; display: flex; align-items: center; }
.profile-circle {
    width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Prompt', sans-serif; font-size: .82rem; font-weight: 700;
    color: #fff; cursor: pointer; border: 1.5px solid rgba(255,255,255,.3);
    user-select: none; transition: opacity .15s;
}
.profile-circle.none      { background: #c0392b; }
.profile-circle.waiting   { background: #c8973a; }
.profile-circle.confirmed { background: #2d7a52; }
.profile-circle:hover { opacity: .85; }
.profile-menu {
    display: none; position: absolute; top: 46px; right: 0;
    background: #fff; border: 1px solid #e8e4df;
    border-radius: 12px; min-width: 216px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08); overflow: hidden; z-index: 300;
}
.profile-menu.open { display: block; }
.profile-menu-header { padding: 14px 16px; border-bottom: 1px solid #e8e4df; }
.pm-name  { font-weight: 600; font-size: .88rem; color: #1c1c1e; }
.pm-email { font-size: .76rem; color: #8a8a96; margin-top: 2px; }
.pm-badge {
    display: inline-block; margin-top: 8px;
    padding: 3px 9px; border-radius: 5px; font-size: .72rem; font-weight: 600;
}
.pm-badge.none      { background: #fee2e2; color: #991b1b; }
.pm-badge.waiting   { background: #fef3c7; color: #7c4e00; }
.pm-badge.confirmed { background: #d1fae5; color: #065f46; }
.pm-link {
    display: block; padding: 10px 16px; font-size: .83rem;
    color: #1a3a6b; font-weight: 500; text-decoration: none;
    transition: background .15s; border-bottom: 1px solid #e8e4df;
}
.pm-link:hover { background: #f5f4f2; }
.pm-logout {
    display: block; padding: 11px 16px; font-size: .83rem;
    color: #c0392b; font-weight: 500; text-decoration: none; transition: background .15s;
}
.pm-logout:hover { background: #fff5f5; }

.navbar-transparent:not(.scrolled) {
    background: transparent;
    box-shadow: none;
}
.navbar-transparent:not(.scrolled) .nav-tab {
    color: rgba(255, 255, 255, 0.85);
}
.navbar-transparent:not(.scrolled) .nav-tab:hover,
.navbar-transparent:not(.scrolled) .nav-tab.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
.navbar-transparent:not(.scrolled) .nav-brand {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.navbar-transparent:not(.scrolled) .btn-login-pill {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
