
* {
    box-sizing: border-box;
}

.verify-banner {
    width: 100%;
    padding: 12px 18px;
    background: #3b0d0d;
    color: #fff;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

#navbar {
    background: rgba(0,0,0,0.18);
    padding: 18px 42px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-left: none;
    border-right: none;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(6px);
}

#headerTitle {
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
    text-shadow: 0 10px 26px rgba(0,0,0,0.55);
    margin: 0;
    white-space: nowrap;
    cursor: pointer;
}
.has-unread {
    color: red !important;
}
#notification-icon.has-unread,
#notification-icon-desktop.has-unread {
    color: #ef4444 !important;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 10px 10px;
    transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
}

.nav-link:hover {
    opacity: 0.95;
    color: rgba(255,255,255,0.84);
}

.login-signup-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: rgba(0,0,0,0.40);
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.login-signup-button:hover {
    background-color: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.30);
}

.nav-right {
    display: flex;
    align-items: center;
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.user-menu-trigger:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}

.user-pic {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.35);
}

.dropdown-arrow {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

.sub-menu-wrap {
    position: absolute;
    top: 58px;
    right: -12px;
    width: 400px;
    max-width: 88vw;
    display: none;
    z-index: 999;
}

.sub-menu-wrap.open-menu {
    display: block;
    animation: fadeDropdown .18s ease;
}

.sub-menu {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.28);
    border: 1px solid rgba(0,0,0,0.08);
}

.user-info {
    padding: 14px 12px 12px;
    text-align: center;
    background: linear-gradient(180deg,#f8fafc,#eef2f7);
}

.user-info img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px;
    border: 2px solid #dbeafe;
}

.user-info h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    color: #111827;
    word-break: break-word;
}

.sub-menu hr {
    margin: 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.sub-menu-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    text-decoration: none;
    color: #111827 !important;
    transition: background .18s ease;
}

.sub-menu-link:hover {
    background: #f8fafc;
}

.sub-menu-link img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    object-fit: contain;
    opacity: 0.85;
}

.sub-menu-link p {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: #111827 !important;
    flex: 1;
    word-break: break-word;
}

.sub-menu-link span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.notification-inbox {
    padding: 10px 12px 12px;
    border-top: 1px solid #e5e7eb;
    background: #fcfcfd;
}

.notification-inbox h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.notification-inbox a {
    color: #111827 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-inbox i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: #111827 !important;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
    display: none;
}

.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.96);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    padding: 18px 14px 24px;
    z-index: 99;
    transform: translateX(-110%);
    transition: transform .25s ease;
    box-shadow: 20px 0 50px rgba(0,0,0,0.55);
    border-right: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    cursor: pointer;
}

.sidebar button:hover {
    background: rgba(255,255,255,0.14);
}

.sidebar a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    border-radius: 12px;
    margin: 6px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: background .18s ease, transform .18s ease;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(2px);
}

.sidebar a i,
.sidebar a img {
    width: 18px;
    height: 18px;
    min-width: 18px;
    text-align: center;
    object-fit: contain;
    font-size: 16px;
}

.sidebar .notification-inbox {
    margin-top: 14px;
    padding: 14px 12px 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    background: transparent;
}

.sidebar .notification-inbox h2 {
    margin: 0;
    font-size: 15px;
}

.sidebar .notification-inbox a {
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: none !important;
    transform: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
}

.sidebar .notification-inbox i {
    color: #fff !important;
    width: 18px;
    text-align: center;
}

.hamburger-btn {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

.hamburger-btn i {
    font-size: 18px;
}

@keyframes fadeDropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #navbar {
        padding: 16px 18px;
    }

    .nav-center,
    .nav-right,
    .login-signup-button {
        display: none;
    }

    .hamburger-btn {
        display: inline-flex;
    }

    #headerTitle {
        margin: 0 auto;
        font-size: 28px;
    }
}




