/* =============================== 
   🌐 NurseXplore Admin - Topbar (Pro Level)
   =============================== */
   .nx-topbar {
    width: 100%;
    height: 60px;
    background: rgba(44, 47, 90, 0.6);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.05);
    color: #fff;
}

/* Left Section */
.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.3s ease;
}
.menu-toggle:hover {
    transform: rotate(10deg);
}

.brand-title {
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    color: #4facfe;   /* Fallback solid color */
    -webkit-text-fill-color: transparent;
}


/* Right Section */
.user-greeting {
    margin-right: 15px;
    font-size: 14px;
    color: #ddd;
}

/* Profile */
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #4facfe;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1);
}

/* 🌟 Profile Dropdown - Themed & Pro Level */
/* 🌟 Profile Dropdown Container */
.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
}

/* Ensure Avatar & Username are aligned */
.user-greeting {
    font-size: 14px;
    color: #ddd;
    white-space: nowrap;
}

/* Avatar remains as is */
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #4facfe;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1);
}

/* Dropdown Styling */
.profile-menu {
    position: absolute;
    right: 0;
    top: 55px;   /* Slight adjustment for spacing */
    background: rgba(44, 47, 90, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.1);
    min-width: 180px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: none;
    z-index: 999;
}

/* Show on Active */
.profile-dropdown.active .profile-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 🌟 Dropdown Links */
.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #fff;                      /* White text */
    text-decoration: none;            /* Remove underline */
    font-size: 14px;
    transition: background 0.2s ease, padding-left 0.2s ease;
    font-weight: 500;
}

/* Hover Effect */
.profile-menu a:hover {
    background: rgba(79, 172, 254, 0.15);
    padding-left: 20px;
    color: #00f2fe;                   /* Light blue on hover */
}

.profile-menu a .material-icons-outlined {
    font-size: 18px;
    color: #00f2fe;
    transition: color 0.3s ease;
}

.profile-menu a:hover .material-icons-outlined {
    color: #4facfe;
}


.profile-menu a {
    cursor: pointer;
}



/* Responsive */
@media (max-width: 600px) {
    .user-greeting {
        display: none;
    }
}
