/* 
   NAVBAR.CSS
   Styles for the top navigation bar, user profile, and theme switch
*/
.app-content-header {
    display: none !important;
}

/* ========== TOP NAVBAR ========== */
.top-navbar {
    height: 70px;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-toggle {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    margin-right: 15px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.sidebar-toggle:hover {
    background: rgba(79, 70, 229, 0.1);
}

.top-nav-right .user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* ========== DROPDOWN MENUS ========== */
.dropdown-menu {
    background: var(--bg-panel) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-item {
    color: var(--text-light) !important;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background: rgba(79, 70, 229, 0.1) !important;
    color: var(--primary-light) !important;
}

/* ========== THEME SWITCHER TOGGLE ========== */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #334155;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border-color);
}

.slider:before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.theme-icon {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 8px;
}

/* ========== JAZZMIN NAVBAR OVERRIDES ========== */
.main-header.navbar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.main-header.navbar i,
.main-header.navbar {
    color: #000000 !important;
}

.main-header.navbar .nav-link,
.main-header.navbar .nav-link * {
    color: #000000 !important;
}