/* ============================================
   JALUSI ESD - Custom Admin Styles
   ============================================ */

:root {
    /* Brand Colors */
    --jalusi-primary: #1e3a5f;
    --jalusi-secondary: #2563eb;
    --jalusi-accent: #059669;
    
    /* Status Colors */
    --color-success: #059669;
    --color-warning: #d97706;
    --color-danger: #dc2626;
    --color-info: #2563eb;
    --color-muted: #6b7280;
    
    /* Neutrals */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* ============================================
   Global Overrides
   ============================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
}

#container {
    padding: 0;
}

#header {
    background: linear-gradient(135deg, var(--jalusi-primary) 0%, #0f172a 100%);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

#site-name a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jalusi-logo {
    color: var(--jalusi-secondary);
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when sidebar is collapsed */
body.sidebar-collapsed .hamburger-btn .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.sidebar-collapsed .hamburger-btn .hamburger-line:nth-child(2) {
    opacity: 0;
}

body.sidebar-collapsed .hamburger-btn .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Sidebar Navigation
   ============================================ */

.jalusi-sidebar {
    position: fixed;
    left: 0;
    top: 53px;
    width: 240px;
    height: calc(100vh - 53px);
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    z-index: 100;
    transition: width 0.3s ease;
}

/* Collapsed Sidebar */
.jalusi-sidebar.collapsed {
    width: 64px;
}

.jalusi-sidebar.collapsed .nav-header {
    display: none;
}

.jalusi-sidebar.collapsed .nav-text {
    display: none;
}

.jalusi-sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 12px;
}

.jalusi-sidebar.collapsed .nav-icon {
    font-size: 20px;
}

.jalusi-sidebar.collapsed .nav-sections {
    padding-top: 16px;
}

/* Tooltip for collapsed sidebar */
.jalusi-sidebar.collapsed .nav-link {
    position: relative;
}

.jalusi-sidebar.collapsed .nav-link:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-text);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 8px;
    z-index: 1000;
}

.nav-sections {
    list-style: none;
    padding: 16px 12px;
    margin: 0;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-header {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    padding: 12px 12px 6px;
    margin-top: 8px;
}

.nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-size: 14px;
}

.nav-link:hover {
    background: var(--color-bg);
    color: var(--jalusi-secondary);
}

.nav-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--jalusi-secondary);
    font-weight: 600;
}

.nav-icon {
    font-size: 16px;
}

/* Hide default Django admin sidebar when custom sidebar is present */
#nav-sidebar,
.main > #nav-sidebar,
#toggle-nav-sidebar {
    display: none !important;
}

/* Hide breadcrumbs */
.breadcrumbs {
    display: none !important;
}

/* Hide theme toggle */
#toggle-theme,
.theme-toggle,
button[title="Toggle theme"] {
    display: none !important;
}

/* Content area adjustment */
#content {
    margin-left: 240px;
    padding: 24px;
    min-height: calc(100vh - 60px);
    transition: margin-left 0.3s ease;
    position: relative;
}

/* Message List (Django messages) */
.messagelist {
    position: relative;
    z-index: 10;
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.messagelist li {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.messagelist li::before {
    font-size: 16px;
}

.messagelist .success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.messagelist .success::before {
    content: "✓";
}

.messagelist .warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.messagelist .warning::before {
    content: "⚠";
}

.messagelist .error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.messagelist .error::before {
    content: "✕";
}

.messagelist .info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.messagelist .info::before {
    content: "ℹ";
}

/* Adjust content when sidebar is collapsed */
body:has(.jalusi-sidebar.collapsed) #content,
body.sidebar-collapsed #content {
    margin-left: 64px;
}

/* When sidebar is not present (logged out), reset margin */
body.login #content,
body:not(:has(.jalusi-sidebar)) #content {
    margin-left: 0;
}

/* Reset any default sidebar margins on main content */
.main {
    margin-left: 0 !important;
}

/* Remove shifted class behavior - span full width */
.main.shifted,
#main.shifted {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ============================================
   User Menu
   ============================================ */

.jalusi-user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--jalusi-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details strong {
    font-size: 14px;
}

.user-role {
    font-size: 11px;
    opacity: 0.8;
}

.notification-bell a {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.notification-bell a:hover {
    color: #fff;
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--jalusi-primary);
    line-height: 1;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   Dashboard Styles
   ============================================ */

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 32px;
}

.dashboard-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

.role-indicator {
    color: var(--color-text-muted);
    font-size: 14px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-muted);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card--primary { border-left-color: var(--color-info); }
.stat-card--success { border-left-color: var(--color-success); }
.stat-card--warning { border-left-color: var(--color-warning); }
.stat-card--danger { border-left-color: var(--color-danger); }
.stat-card--info { border-left-color: var(--color-info); }

.stat-icon {
    font-size: 28px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.stat-link {
    font-size: 13px;
    color: var(--jalusi-secondary);
    text-decoration: none;
    font-weight: 500;
}

.stat-link:hover {
    text-decoration: underline;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 32px;
}

.quick-actions h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-btn--primary {
    background: var(--jalusi-secondary);
    color: #fff;
}

.action-btn--success {
    background: var(--color-success);
    color: #fff;
}

.action-btn--warning {
    background: var(--color-warning);
    color: #fff;
}

.action-btn--info {
    background: #7c3aed;
    color: #fff;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-panel {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.dashboard-panel h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
}

.chart-container {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chart-container h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
}

/* ============================================
   Status Badges
   ============================================ */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge--draft { background: #f3f4f6; color: #374151; }
.status-badge--submitted { background: #dbeafe; color: #1d4ed8; }
.status-badge--under-review { background: #ede9fe; color: #6d28d9; }
.status-badge--accepted { background: #d1fae5; color: #047857; }
.status-badge--rejected { background: #fee2e2; color: #b91c1c; }
.status-badge--pending { background: #fef3c7; color: #b45309; }
.status-badge--active { background: #d1fae5; color: #047857; }
.status-badge--completed { background: #dbeafe; color: #1d4ed8; }

/* ============================================
   Workflow Timeline
   ============================================ */

.workflow-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.timeline-step.completed:not(:last-child)::after {
    background: var(--color-success);
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
}

.timeline-step.completed .timeline-dot {
    background: var(--color-success);
    color: #fff;
}

.timeline-step.current .timeline-dot {
    background: var(--jalusi-secondary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

.timeline-step.completed .timeline-label,
.timeline-step.current .timeline-label {
    color: var(--color-text);
    font-weight: 500;
}

/* ============================================
   Action Buttons in Forms
   ============================================ */

.workflow-actions {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.workflow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.workflow-btn--approve {
    background: var(--color-success);
    color: #fff;
}

.workflow-btn--reject {
    background: var(--color-danger);
    color: #fff;
}

.workflow-btn--secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.workflow-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   Cards & Panels
   ============================================ */

.info-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

/* ============================================
   Form Styling Enhancements
   ============================================ */

.form-row {
    padding: 12px 0;
}

.form-row label {
    font-weight: 600;
    color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--jalusi-secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Submit row */
.submit-row {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 20px;
}

.submit-row input[type="submit"] {
    background: var(--jalusi-secondary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-row input[type="submit"]:hover {
    background: #1d4ed8;
}

/* ============================================
   Modal Styles
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ============================================
   Table Enhancements
   ============================================ */

#result_list {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

#result_list th {
    background: var(--color-bg);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#result_list td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

#result_list tr:hover td {
    background: rgba(37, 99, 235, 0.02);
}

/* ============================================
   Loading States
   ============================================ */

.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--color-text-muted);
}

.htmx-request .loading-placeholder {
    opacity: 0.5;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
    .jalusi-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .jalusi-sidebar.open {
        transform: translateX(0);
    }
    
    #content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid,
    .charts-section {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Activity Feed
   ============================================ */

.activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-icon--create { background: #d1fae5; }
.activity-icon--update { background: #dbeafe; }
.activity-icon--approve { background: #d1fae5; }
.activity-icon--reject { background: #fee2e2; }

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 14px;
    color: var(--color-text);
    margin: 0 0 4px;
}

.activity-time {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   Events List
   ============================================ */

.event-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    text-align: center;
    min-width: 50px;
}

.event-day {
    font-size: 24px;
    font-weight: 700;
    color: var(--jalusi-secondary);
    line-height: 1;
}

.event-month {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 4px;
}

.event-meta {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   User Avatar Dropdown Menu
   ============================================ */

.user-dropdown {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 24px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text);
}

.user-avatar-btn:hover {
    background: #fff;
}

.user-avatar-btn .user-avatar,
.user-avatar-btn .user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-avatar-btn .user-avatar-placeholder {
    background: var(--jalusi-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.dropdown-arrow {
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: linear-gradient(135deg, var(--jalusi-primary) 0%, #0f172a 100%);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    overflow: hidden;
}

/* Dropdown animations */
.dropdown-enter {
    transition: all 0.2s ease;
}

.dropdown-leave {
    transition: all 0.15s ease;
}

[x-cloak] {
    display: none !important;
}

.dropdown-header {
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-header strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}

.dropdown-header .user-role-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    background: var(--jalusi-secondary);
    color: #fff;
    margin-bottom: 6px;
}

.dropdown-header .user-role-tag.role-super_admin {
    background: #dc2626;
}

.dropdown-header .user-role-tag.role-esd_manager {
    background: #7c3aed;
}

.dropdown-header .user-role-tag.role-beneficiary {
    background: #2563eb;
}

.dropdown-header .user-role-tag.role-mentor {
    background: #059669;
}

.dropdown-header .user-role-tag.role-evaluator {
    background: #d97706;
}

.dropdown-header .user-email {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dropdown-item svg {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.dropdown-item:hover svg {
    color: #fff;
}

.dropdown-item-danger {
    color: #fca5a5;
}

.dropdown-item-danger:hover {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.dropdown-item-danger svg {
    color: #fca5a5;
}

.dropdown-logout-form {
    margin: 0;
}

/* Notification bell spacing */
.notification-bell {
    margin-right: 8px;
}

.notification-bell a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    transition: all 0.2s ease;
}

.notification-bell a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Hide default user tools text */
#user-tools {
    display: none !important;
}

