/* ORIGINAL WORKING TOPNAV CSS - MINIMAL & WORKING */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --sidebar-bg: #2c3e50;
    --topbar-bg: #34495e;
    --footer-bg: #1a252f;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --hover-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Topbar Styles */
.admin-topbar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    padding: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
    gap: 1rem;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Topbar Content */
.topbar-left h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--topbar-text);
    transition: all 0.3s ease;
}

.topbar-left a:hover h4 {
    opacity: 0.8;
    transform: translateX(2px);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Topbar Buttons */
.topbar-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--topbar-text);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-btn:hover {
    background: rgba(255,255,255,0.2);
    color: var(--topbar-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Notification badge */
.notification-badge {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Topbar Dropdown Styling - WHITE BACKGROUND LIKE REFERENCE */
.admin-topbar .dropdown-menu {
    background-color: var(--admin-dropdown-bg) !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border-radius: 12px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    z-index: 9999 !important;
}

/* Dropdown Items Styling */
.admin-topbar .dropdown-menu .dropdown-item {
    color: var(--admin-dropdown-text) !important;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s ease !important;
}

/* Dropdown Items Hover */
.admin-topbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--admin-dropdown-hover-bg) !important;
    color: var(--admin-dropdown-hover-text) !important;
}

/* Horizontal Navigation Z-Index Fix */
.horizontal-nav {
    z-index: 1000 !important;
}

/* Dropdown Container Positioning */
.admin-topbar .dropdown {
    position: relative !important;
}

.admin-topbar .dropdown-item {
    padding: 0.75rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: #495057 !important; /* Dark text for white background */
}

.admin-topbar .dropdown-item:hover,
.admin-topbar .dropdown-item:focus {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #667eea !important;
    transform: translateX(5px) !important;
    text-decoration: none !important;
}

.admin-topbar .dropdown-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.25rem !important;
    margin: -0.5rem 0 0.5rem 0 !important;
    border-radius: 12px 12px 0 0 !important;
}

.admin-topbar .dropdown-item i {
    width: 16px !important;
    text-align: center !important;
}

/* Language Flag Styling in Topbar Dropdown */
.admin-topbar .dropdown-item .language-flag {
    width: 20px !important;
    height: 15px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    margin-right: 0.5rem !important;
    vertical-align: middle !important;
    display: inline-block !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Currency Icons Styling - Match Reference Colors */
.admin-topbar .dropdown-item .fa-dollar-sign {
    color: #28a745 !important; /* text-success */
}

.admin-topbar .dropdown-item .fa-euro-sign {
    color: #007bff !important; /* text-primary */
}

.admin-topbar .dropdown-item .fa-pound-sign {
    color: #ffc107 !important; /* text-warning */
}

.admin-topbar .dropdown-item .fa-yen-sign {
    color: #dc3545 !important; /* text-danger */
}

/* Notification Icons Colors */
.admin-topbar .dropdown-item .fa-user-plus {
    color: #28a745 !important; /* text-success */
}

.admin-topbar .dropdown-item .fa-shield-alt {
    color: #ffc107 !important; /* text-warning */
}

.admin-topbar .dropdown-item .fa-cog {
    color: #17a2b8 !important; /* text-info */
}

/* Notification dropdown special styling */
.admin-topbar .dropdown-menu[style*="width: 350px"] {
    width: 350px !important;
}

.admin-topbar .dropdown-menu[style*="width: 350px"] .dropdown-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    padding: 1rem 1.25rem !important;
}

.admin-topbar .dropdown-menu[style*="width: 350px"] .dropdown-item div {
    flex: 1 !important;
}

.admin-topbar .dropdown-menu[style*="width: 350px"] .fw-bold {
    font-weight: 600 !important;
    color: #495057 !important;
    margin-bottom: 0.25rem !important;
}

.admin-topbar .dropdown-menu[style*="width: 350px"] .text-muted {
    color: #6c757d !important;
    font-size: 0.8rem !important;
}

/* Settings Panel Styling */
.settings-panel {
    position: fixed !important;
    top: 0 !important;
    right: -400px !important;
    width: 400px !important;
    height: 100vh !important;
    background: white !important;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15) !important;
    z-index: 10001 !important;
    transition: right 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

.settings-panel.open {
    right: 0 !important;
}

.settings-panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.settings-panel-body {
    flex: 1 !important;
    padding: 1.5rem !important;
    overflow-y: auto !important;
}

.settings-section {
    margin-bottom: 2rem !important;
}

.settings-section-title {
    color: #495057 !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #e9ecef !important;
    font-size: 0.9rem !important;
}

.settings-item {
    padding: 1rem !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    margin-bottom: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.settings-item:hover {
    background: #e9ecef !important;
    transform: translateX(5px) !important;
}

.settings-item .fw-bold {
    color: #495057 !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    font-size: 0.9rem !important;
}

.settings-item .text-muted {
    color: #6c757d !important;
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
}

.settings-item .badge {
    padding: 0.5rem !important;
    border-radius: 6px !important;
}

.settings-item .badge i {
    font-size: 0.9rem !important;
}

/* Badge color variants */
.settings-item .badge.bg-primary {
    background-color: #667eea !important;
}

.settings-item .badge.bg-success {
    background-color: #28a745 !important;
}

.settings-item .badge.bg-info {
    background-color: #17a2b8 !important;
}

.settings-item .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

/* Form switches in settings */
.settings-item .form-check-input {
    width: 2rem !important;
    height: 1rem !important;
    margin-top: 0 !important;
}

.settings-item .form-check-input:checked {
    background-color: #667eea !important;
    border-color: #667eea !important;
}

.settings-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 10000 !important;
    display: none !important;
}

.settings-overlay.show {
    display: block !important;
}

/* Topbar Responsive Styles */
@media (max-width: 991px) {
    .topbar-content {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .topbar-left h4 {
        font-size: 1.1rem;
    }
    
    .topbar-right {
        gap: 0.5rem;
    }
    
    .topbar-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .topbar-content {
        padding: 0.5rem 0.75rem;
        gap: 0.25rem;
    }
    
    .topbar-left h4 {
        font-size: 1rem;
    }
    
    .topbar-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }
    
    /* Only hide text labels on very small screens */
    .topbar-btn span {
        display: none !important;
    }
    
    .settings-panel {
        width: 100% !important;
        right: -100% !important;
    }
    
    .settings-panel.open {
        right: 0 !important;
    }
}

@media (max-width: 575px) {
    .topbar-content {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .topbar-left h4 {
        font-size: 0.9rem;
    }
    
    .topbar-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
}

/* ================================================================
   NOTIFICATION PANEL
   ================================================================ */
.notif-panel {
    min-width: 360px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18) !important;
    overflow: hidden !important;
}

.notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.notif-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.notif-mark-read {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    border-radius: 50rem;
    padding: 4px 10px;
    white-space: nowrap;
    transition: background 0.2s;
}
.notif-mark-read:hover { background: rgba(255,255,255,0.28); color: #fff; }

.notif-panel-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 6px 0;
}
.notif-panel-list::-webkit-scrollbar { width: 4px; }
.notif-panel-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.notif-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 11px 16px !important;
    text-decoration: none !important;
    color: inherit !important;
    border-left: 3px solid transparent;
    transition: background 0.18s, border-color 0.18s !important;
    transform: none !important;
}
.notif-item:hover { background: rgba(102,126,234,0.06) !important; border-left-color: #667eea; }

.notif-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notif-item-content { flex: 1; min-width: 0; }

.notif-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-body-color, #2d3748);
    line-height: 1.3;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item-desc {
    font-size: 0.73rem;
    color: var(--bs-secondary-color, #6c757d);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    flex-shrink: 0;
    margin-top: 5px;
}

.notif-panel-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--bs-secondary-color, #6c757d);
}
.notif-panel-empty i { font-size: 2rem; opacity: 0.3; margin-bottom: 8px; }

.notif-panel-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--bs-border-color, #e9ecef);
}

.notif-footer-btn {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.notif-footer-btn:hover { opacity: 0.88; color: #fff; }

/* ================================================================
   NOTIFICATIONS OFFCANVAS PANEL  (.anp-* = admin notif panel)
   ================================================================ */
.anp-offcanvas {
    width: 360px !important;
    border: none !important;
    box-shadow: -8px 0 40px rgba(0,0,0,0.18) !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.anp-cover {
    position: relative;
    background: linear-gradient(145deg, #f093fb 0%, #764ba2 45%, #667eea 100%);
    padding: 44px 24px 28px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.anp-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.anp-cover-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
}
.anp-cover-title {
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.anp-cover-badge {
    display: inline-block;
    margin-top: 8px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50rem;
    padding: 3px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.anp-badge-clear { background: rgba(40,199,111,0.25); border-color: rgba(40,199,111,0.5); color: #b8ffd9; }

.anp-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.anp-list::-webkit-scrollbar { width: 4px; }
.anp-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.anp-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--bs-secondary-color, #6c757d);
}
.anp-empty-icon {
    font-size: 3rem;
    color: #28c76f;
    opacity: 0.4;
    margin-bottom: 14px;
    display: block;
}
.anp-empty-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--bs-body-color, #2d3748);
}
.anp-empty-sub { font-size: 0.8rem; }

.anp-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none !important;
    color: var(--bs-body-color, #2d3748) !important;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.anp-item:hover {
    background: rgba(102,126,234,0.06);
    border-left-color: #667eea;
}
.anp-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.anp-item-body { flex: 1; min-width: 0; }
.anp-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 3px;
}
.anp-item-desc {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #9aa0ac);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.anp-item-new {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: #667eea;
    color: #fff;
    border-radius: 4px;
    padding: 2px 6px;
    flex-shrink: 0;
    margin-top: 2px;
    align-self: flex-start;
}

.anp-footer {
    padding: 12px 20px 20px;
    border-top: 1px solid var(--bs-border-color, #e9ecef);
}
.anp-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.2s;
}
.anp-footer-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ================================================================
   PROFILE OFFCANVAS PANEL  (.aup-* = admin user profile)
   ================================================================ */
.aup-offcanvas {
    width: 320px !important;
    border: none !important;
    box-shadow: -8px 0 40px rgba(0,0,0,0.2) !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

/* ---- Cover / Hero ---- */
.aup-cover {
    position: relative;
    background: linear-gradient(145deg, #667eea 0%, #764ba2 55%, #f093fb 100%);
    padding: 40px 20px 24px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.aup-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.aup-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}
.aup-close-btn:hover { background: rgba(255,255,255,0.35); }

.aup-avatar-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 14px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.2));
    position: relative;
    z-index: 1;
}
.aup-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.9);
    display: block;
}

.aup-cover-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}
.aup-cover-role {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.aup-online-pill {
    background: rgba(40,199,111,0.28);
    border: 1px solid rgba(40,199,111,0.5);
    border-radius: 50rem;
    padding: 2px 9px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #b8ffd9;
}
.aup-online-pill .fas { font-size: 0.45rem; vertical-align: middle; color: #28c76f; }

/* ---- Stats Strip ---- */
.aup-stats-strip {
    display: flex;
    align-items: center;
    background: var(--bs-body-bg, #fff);
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
}
.aup-stat {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    text-decoration: none;
    color: var(--bs-body-color, #2d3748);
    transition: background 0.15s;
}
.aup-stat:hover { background: rgba(102,126,234,0.05); color: #667eea; }
.aup-stat-val {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    color: #667eea;
}
.aup-stat-lbl {
    font-size: 0.67rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.aup-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--bs-border-color, #e9ecef);
    flex-shrink: 0;
}

/* ---- Menu ---- */
.aup-menu {
    flex: 1;
    padding: 12px 0 0;
    overflow-y: auto;
}
.aup-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color, #9aa0ac);
    padding: 0 20px 8px;
}

.aup-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    text-decoration: none !important;
    color: var(--bs-body-color, #2d3748) !important;
    transition: background 0.15s, gap 0.15s;
    border-left: 3px solid transparent;
}
.aup-item:hover {
    background: rgba(102,126,234,0.06);
    border-left-color: #667eea;
    gap: 17px;
    color: var(--bs-body-color, #2d3748) !important;
}
.aup-item:hover .aup-item-icon { transform: scale(1.08); }
.aup-item:hover .aup-item-arrow { opacity: 1; transform: translateX(3px); color: #667eea; }

.aup-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.18s;
}
.aup-item-body { flex: 1; min-width: 0; }
.aup-item-label {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
}
.aup-item-sub {
    font-size: 0.73rem;
    color: var(--bs-secondary-color, #9aa0ac);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aup-item-arrow {
    font-size: 0.7rem;
    opacity: 0.25;
    transition: opacity 0.15s, transform 0.15s;
    flex-shrink: 0;
}

/* ---- Footer / Logout ---- */
.aup-footer {
    padding: 12px 20px 20px;
    border-top: 1px solid var(--bs-border-color, #e9ecef);
    margin-top: auto;
}
.aup-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    background: rgba(234,84,85,0.07);
    color: #ea5455 !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1.5px solid rgba(234,84,85,0.2);
    transition: all 0.2s;
}
.aup-logout-btn:hover {
    background: #ea5455;
    color: #fff !important;
    border-color: #ea5455;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234,84,85,0.35);
}

.aup-switch-admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    background: rgba(0, 207, 232, 0.08);
    color: #00cfe8 !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1.5px solid rgba(0, 207, 232, 0.25);
    transition: all 0.2s;
    margin-bottom: 10px;
}
.aup-switch-admin-btn:hover {
    background: #00cfe8;
    color: #fff !important;
    border-color: #00cfe8;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 207, 232, 0.35);
}