/* =================================================
   NAVBAR VARIABLES (SCOPED)
================================================= */
.user-navbar {
    --primary-blue: #0ea5e9;        /* main blue */
    --primary-blue-dark: #0284c7;   /* darker blue */
    --primary-blue-soft: #38bdf8;   /* soft accent */
    --white: #ffffff;
    --light-bg: #f8fafc;
    --navbar-height: 70px;
}

/* =================================================
   NAVBAR (FIXED, CLEAN BLUE)
================================================= */
.user-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);

    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--primary-blue-dark)
    );

    display: flex;
    align-items: center;

    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
    z-index: 2000;
}

/* =================================================
   LEFT (LOGO)
================================================= */
.user-navbar .nav-left {
    display: flex;
    align-items: center;
}

.user-navbar .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* LOGO (CLEAR & VISIBLE) */
.user-navbar .brand-logo {
    height: 58px;
    object-fit: contain;
    margin-left: 35px;

    background: transparent; /* ensures no overlay */
    padding: 4px;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

.user-navbar .brand-link:hover .brand-logo {
    transform: scale(1.06);
    opacity: 0.95;
}

/* =================================================
   RIGHT (ICONS)
================================================= */
.user-navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 18px;
}

/* =================================================
   ICON BUTTONS (WHITE + BLUE STYLE)
================================================= */
.user-navbar .icon-btn,
.user-navbar .menu-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);

    color: var(--white);

    width: 40px;
    height: 40px;
    border-radius: 12px;

    font-size: 18px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

/* HOVER EFFECT */
.user-navbar .icon-btn:hover,
.user-navbar .menu-btn:hover {
    background: var(--white);
    color: var(--primary-blue-dark);

    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 14px rgba(255,255,255,0.25);
}

/* =================================================
   NOTIFICATION BADGE (RED FOR VISIBILITY)
================================================= */
.user-navbar .notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;

    background: #ef4444;
    color: #fff;

    font-size: 11px;
    font-weight: 700;

    padding: 3px 6px;
    border-radius: 50px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* =================================================
   MOBILE RESPONSIVE
================================================= */
@media (max-width: 768px) {
    .user-navbar {
        height: 65px;
    }

    .user-navbar .brand-logo {
        height: 48px;
        margin-left: 20px;
    }

    .user-navbar .nav-right {
        gap: 8px;
        margin-right: 12px;
    }

    .user-navbar .icon-btn,
    .user-navbar .menu-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .user-navbar .brand-logo {
        height: 42px;
        margin-left: 15px;
    }

    .user-navbar .nav-right {
        margin-right: 8px;
    }
}