/* ========================================
   NEXUS STYLE MODERN COMPONENTS - AUTOWASH DESIGN SYSTEM
======================================== */

/* Root CSS Variables for Nexus Theme */
:root {
    /* Nexus Dark Sidebar Colors */
    --nexus-dark: #1a1d21;
    --nexus-darker: #151619;
    --nexus-surface: #242730;
    --nexus-accent: #3b82f6;
    --nexus-text: #e2e8f0;
    --nexus-text-muted: #94a3b8;
    --nexus-border: #2d3748;
    --nexus-hover: #374151;
    
    /* Nexus Light Theme */
    --nexus-light-bg: #ffffff;
    --nexus-light-surface: #f8fafc;
    --nexus-light-border: #e2e8f0;
    --nexus-light-text: #1e293b;
    --nexus-light-muted: #64748b;
}

/* Dark Theme Variables */
[data-bs-theme="dark"] {
    --nexus-light-bg: #0f172a;
    --nexus-light-surface: #1e293b;
    --nexus-light-border: #334155;
    --nexus-light-text: #f8fafc;
    --nexus-light-muted: #94a3b8;
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--nexus-light-muted);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
}

.theme-toggle-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--nexus-light-text);
}

.theme-toggle-icon {
    margin-right: 0.5rem;
    width: 16px;
    display: inline-block;
}

.theme-toggle-text {
    font-size: 0.875rem;
}

/* ========================================
   NEXUS SIDEBAR COMPONENT
======================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--nexus-dark);
    border-right: 1px solid var(--nexus-border);
    z-index: 1000;
    transition: width 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed {
    width: 80px;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--nexus-border);
    min-height: 80px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--nexus-accent), #6366f1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.brand-text {
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .brand-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--nexus-text);
    line-height: 1.2;
    margin: 0;
}

.brand-type {
    font-size: 12px;
    color: var(--nexus-text-muted);
    font-weight: 500;
    margin: 0;
    margin-top: 2px;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--nexus-border);
    border-radius: 2px;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--nexus-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .nav-section-title {
    opacity: 0;
}

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

.nav-item {
    margin: 0 0.75rem 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--nexus-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background: var(--nexus-hover);
    color: var(--nexus-text);
    transform: translateX(2px);
}

.nav-link.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--nexus-accent);
    border-left: 2px solid var(--nexus-accent);
    margin-left: -2px;
    padding-left: calc(1rem + 2px);
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .nav-text {
    opacity: 0;
    width: 0;
}

/* Navigation Badges */
.nav-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 50px;
    margin-left: auto;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-badge-primary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--nexus-accent);
}

.nav-badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.nav-badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.nav-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Special Link Styles */
.nav-link-featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-link-featured:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.nav-link-action {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.nav-link-action:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    transform: translateX(4px);
}

/* Dropdown Navigation Styles */
.nav-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.nav-dropdown-toggle .nav-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

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

.nav-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--nexus-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
}

.nav-dropdown.expanded .nav-submenu {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-submenu .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    margin: 0.25rem 0;
    border-radius: 0.375rem;
}

.nav-submenu .nav-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--nexus-accent);
}

.nav-submenu .nav-link.active {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--nexus-accent);
    border-left: 2px solid var(--nexus-accent);
}

/* Navigation Dividers */
.nav-divider {
    margin: 0.75rem 0 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--nexus-border);
}

.nav-divider-text {
    font-size: 0.75rem;
    color: var(--nexus-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--nexus-border);
    background: var(--nexus-darker);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-user:hover {
    background: var(--nexus-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--nexus-border);
    flex-shrink: 0;
}

.user-avatar.placeholder {
    background: linear-gradient(135deg, var(--nexus-accent), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-info {
    flex: 1;
    min-width: 0;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .user-info {
    opacity: 0;
    width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--nexus-text);
    line-height: 1.2;
    margin: 0;
}

.user-role {
    font-size: 12px;
    color: var(--nexus-text-muted);
    margin: 0;
}

/* ========================================
   NEXUS TOPBAR COMPONENT
======================================== */
.topbar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 64px;
    background: var(--nexus-light-bg);
    border-bottom: 1px solid var(--nexus-light-border);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    transition: left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.sidebar.collapsed ~ * .topbar,
.topbar.sidebar-collapsed {
    left: 80px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Mobile Brand */
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-brand-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--nexus-accent), #6366f1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.mobile-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.mobile-brand-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--nexus-light-text);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    color: var(--nexus-light-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.sidebar-toggle:hover {
    background: var(--nexus-accent);
    border-color: var(--nexus-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    color: var(--nexus-light-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.mobile-menu-toggle:hover {
    background: var(--nexus-accent);
    border-color: var(--nexus-accent);
    color: white;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    background: none;
    font-size: 14px;
}

.breadcrumb-item {
    color: var(--nexus-light-muted);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--nexus-light-text);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--nexus-light-border);
    margin: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--nexus-light-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--nexus-accent);
}

/* ========================================
   NEXUS QUICK ACTIONS
======================================== */
.quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    color: var(--nexus-light-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.quick-action-btn:hover {
    background: var(--nexus-accent);
    border-color: var(--nexus-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* ========================================
   NEXUS NOTIFICATIONS
======================================== */
.notification-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    color: var(--nexus-light-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    position: relative;
}

.notification-btn:hover {
    background: var(--nexus-light-bg);
    border-color: var(--nexus-accent);
    color: var(--nexus-accent);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nexus-light-bg);
}

/* ========================================
   NEXUS USER MENU
======================================== */
.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
}

.user-menu:hover {
    background: var(--nexus-light-bg);
    border-color: var(--nexus-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.user-menu .user-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid var(--nexus-light-border);
}

.user-menu .user-info {
    flex: 1;
    opacity: 1;
    width: auto;
}

.user-menu .user-name {
    color: var(--nexus-light-text);
    font-size: 14px;
    font-weight: 600;
}

.user-menu .user-role {
    color: var(--nexus-light-muted);
    font-size: 12px;
}

.user-menu-arrow {
    color: var(--nexus-light-muted);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.user-menu[aria-expanded="true"] .user-menu-arrow {
    transform: rotate(180deg);
}

/* Enhanced Notification Styles */
.notifications-dropdown .notification-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    color: var(--nexus-light-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    position: relative;
}

.notifications-dropdown .notification-btn:hover {
    background: var(--nexus-light-bg);
    border-color: var(--nexus-accent);
    color: var(--nexus-accent);
}

.notification-dropdown-menu {
    width: 350px;
    max-width: 90vw;
    padding: 0;
    border: 1px solid var(--nexus-light-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid var(--nexus-light-border);
    background: var(--nexus-light-surface);
    border-radius: 12px 12px 0 0;
}

.notification-title {
    color: var(--nexus-light-text);
    font-size: 16px;
    font-weight: 600;
}

.notification-body {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--nexus-light-border);
    text-decoration: none;
    color: var(--nexus-light-text);
    transition: all 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background: var(--nexus-light-surface);
    transform: translateX(2px);
}

.notification-item.notification-unread {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--nexus-accent);
}

.notification-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

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

.notification-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--nexus-light-text);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: var(--nexus-light-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.notification-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: var(--nexus-accent);
    border-radius: 50%;
}

.notification-empty {
    padding: 2rem;
    text-align: center;
}

.notification-empty-icon {
    font-size: 48px;
    color: var(--nexus-light-border);
    margin-bottom: 1rem;
}

.notification-empty-text p {
    color: var(--nexus-light-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.notification-footer {
    padding: 1rem;
    background: var(--nexus-light-surface);
    border-radius: 0 0 12px 12px;
}

.btn-nexus {
    background: var(--nexus-accent);
    border-color: var(--nexus-accent);
    color: white;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-nexus:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-1px);
}

/* Enhanced Quick Actions */
.quick-actions-dropdown .quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nexus-accent);
    border: 1px solid var(--nexus-accent);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
    cursor: pointer;
}

.quick-actions-dropdown .quick-action-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.quick-actions-menu {
    width: 320px;
    max-width: 90vw;
    padding: 0.5rem;
    border: 1px solid var(--nexus-light-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.quick-actions-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--nexus-light-text);
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.quick-actions-menu .dropdown-item:hover {
    background: var(--nexus-light-surface);
    transform: translateX(2px);
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    background: var(--nexus-light-surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.quick-action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-action-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--nexus-light-text);
}

.quick-action-description {
    font-size: 12px;
    color: var(--nexus-light-muted);
    line-height: 1.3;
}

/* Enhanced User Menu */
.user-dropdown-header {
    background: var(--nexus-light-surface);
    border-radius: 12px 12px 0 0;
}

.dropdown-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--nexus-accent), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.dropdown-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.user-dropdown-name {
    font-weight: 600;
    color: var(--nexus-light-text);
    font-size: 16px;
    margin-bottom: 0.25rem;
}

.user-dropdown-role {
    font-size: 12px;
    color: var(--nexus-light-muted);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.user-dropdown-id {
    font-size: 11px;
    color: var(--nexus-light-muted);
    font-family: monospace;
}

.user-dropdown-menu {
    width: 280px;
    max-width: 90vw;
    padding: 0;
    border: 1px solid var(--nexus-light-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.user-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--nexus-light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 0 0.5rem 2px;
}

.user-dropdown-menu .dropdown-item:hover {
    background: var(--nexus-light-surface);
    color: var(--nexus-light-text);
    transform: translateX(2px);
}

.user-dropdown-menu .dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.user-dropdown-menu .dropdown-item i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

/* Mobile Quick Actions */
.mobile-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--nexus-light-surface);
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--nexus-light-text);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-quick-action:hover {
    background: var(--nexus-accent);
    border-color: var(--nexus-accent);
    color: white;
    transform: translateY(-1px);
}

.mobile-quick-action i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.mobile-quick-action .badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-quick-menu {
    position: fixed;
    top: 56px;
    right: 0;
    width: 300px;
    max-width: 90vw;
    background: var(--nexus-light-bg);
    border-left: 1px solid var(--nexus-light-border);
    border-bottom: 1px solid var(--nexus-light-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}

.mobile-quick-menu.show {
    transform: translateX(0);
}

.mobile-quick-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--nexus-light-border);
    background: var(--nexus-light-surface);
}

.mobile-quick-menu-header h6 {
    color: var(--nexus-light-text);
    font-weight: 600;
    margin: 0;
}

.mobile-quick-menu-body {
    padding: 1rem;
}

/* ========================================
   DROPDOWN MENUS
======================================== */
.dropdown-menu {
    background: var(--nexus-light-bg);
    border: 1px solid var(--nexus-light-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--nexus-light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background: var(--nexus-light-surface);
    color: var(--nexus-light-text);
    transform: translateX(2px);
}

.dropdown-item i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--nexus-light-border);
}

/* ========================================
   LAYOUT COMPONENTS
======================================== */
.nexus-app-layout {
    display: flex;
    min-height: 100vh;
    background: var(--nexus-light-surface);
}

.app-main-content {
    margin-left: 280px;
    min-height: 100vh;
    width: calc(100% - 280px);
    transition: margin-left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed + .app-main-content {
    margin-left: 80px;
    width: calc(100% - 80px);
}

.app-content-area {
    flex: 1;
    padding: 2rem;
    margin-top: 64px;
    background: #ffffff;
    min-height: calc(100vh - 64px);
}

/* Content Cards */
.content-card {
    background: #ffffff !important;
    border: 1px solid var(--nexus-light-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.content-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.content-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nexus-light-border);
}

.content-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--nexus-light-text);
    margin: 0;
}

.content-card-subtitle {
    font-size: 14px;
    color: var(--nexus-light-muted);
    margin-top: 0.25rem;
}

/* Page Headers */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nexus-light-border);
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--nexus-light-text);
    margin: 0;
}

.page-subtitle {
    font-size: 16px;
    color: var(--nexus-light-muted);
    margin-top: 0.25rem;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Buttons */
.btn-nexus {
    background: var(--nexus-accent);
    border-color: var(--nexus-accent);
    color: white;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nexus:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-nexus-outline {
    background: transparent;
    border: 1px solid var(--nexus-light-border);
    color: var(--nexus-light-text);
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nexus-outline:hover {
    background: var(--nexus-light-surface);
    border-color: var(--nexus-accent);
    color: var(--nexus-accent);
    transform: translateY(-1px);
}

/* Tables */
.table-nexus {
    background: var(--nexus-light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table-nexus th {
    background: var(--nexus-light-surface);
    border-bottom: 1px solid var(--nexus-light-border);
    padding: 1rem;
    font-weight: 600;
    color: var(--nexus-light-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-nexus td {
    padding: 1rem;
    border-bottom: 1px solid var(--nexus-light-border);
    color: var(--nexus-light-text);
    font-size: 14px;
}

.table-nexus tbody tr:hover {
    background: var(--nexus-light-surface);
}

/* Forms */
.form-nexus .form-control {
    border: 1px solid var(--nexus-light-border);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-nexus .form-control:focus {
    border-color: var(--nexus-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-nexus .form-label {
    font-weight: 500;
    color: var(--nexus-light-text);
    margin-bottom: 0.5rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--nexus-light-bg);
    border: 1px solid var(--nexus-light-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1rem;
}

.stat-card-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--nexus-light-text);
    margin-bottom: 0.25rem;
}

.stat-card-label {
    font-size: 14px;
    color: var(--nexus-light-muted);
    font-weight: 500;
}

.stat-card-change {
    font-size: 12px;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-card-change.positive {
    color: #10b981;
}

.stat-card-change.negative {
    color: #ef4444;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1050;
        width: 300px;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .topbar {
        left: 0 !important;
        height: 56px;
        padding: 0 1rem;
    }
    
    .app-main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .app-content-area {
        padding: 1rem;
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
    
    .topbar-left {
        gap: 0.5rem;
        flex: 1;
        min-width: 0;
    }
    
    .topbar-right {
        gap: 0.5rem;
    }
    
    .breadcrumb {
        display: none !important;
    }
    
    .mobile-brand {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-brand-text {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-menu {
        min-width: auto;
        padding: 0.375rem 0.5rem;
        gap: 0.5rem;
    }
    
    .user-menu .user-info {
        display: none !important;
    }
    
    .user-menu .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .user-menu-arrow {
        display: none !important;
    }
    
    .notification-btn,
    .quick-action-btn,
    .sidebar-toggle,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .dropdown-menu {
        max-width: calc(100vw - 2rem);
        margin: 0.5rem 1rem;
    }
    
    .notification-dropdown-menu,
    .quick-actions-menu,
    .user-dropdown-menu {
        position: fixed !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
    }
    
    .quick-actions-menu {
        display: none; /* Hidden on mobile, use mobile menu instead */
    }
    
    /* Content responsive */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .content-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 0 0.75rem;
    }
    
    .mobile-brand-text {
        max-width: 120px;
    }
    
    .user-menu {
        padding: 0.25rem;
    }
    
    .user-menu .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .notification-btn,
    .sidebar-toggle,
    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .dropdown-menu {
        margin: 0.25rem;
    }
    
    .notification-dropdown-menu,
    .user-dropdown-menu {
        left: 0.25rem !important;
        right: 0.25rem !important;
    }
    
    .app-content-area {
        padding: 0.75rem;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
}

/* User Avatar Styles */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--nexus-accent), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    border: 2px solid var(--nexus-light-border);
    transition: all 0.2s ease;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Fix for body scroll when mobile menus are open */
body.sidebar-open,
body.mobile-menu-open {
    overflow: hidden;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .nexus-app-layout {
        --nexus-light-bg: var(--nexus-dark);
        --nexus-light-surface: var(--nexus-surface);
        --nexus-light-border: var(--nexus-border);
        --nexus-light-text: var(--nexus-text);
        --nexus-light-muted: var(--nexus-text-muted);
    }
}

/* ========================================
   COMPREHENSIVE DARK THEME IMPLEMENTATION
======================================== */
body.dark-theme {
    /* Override Nexus variables for sidebar/topbar */
    --nexus-light-bg: var(--nexus-dark);
    --nexus-light-surface: var(--nexus-surface);
    --nexus-light-border: var(--nexus-border);
    --nexus-light-text: var(--nexus-text);
    --nexus-light-muted: var(--nexus-text-muted);
    
    /* CRITICAL: Override main.css dark theme variables to keep content white */
    /* Keep gray variables as light colors for main content area */
    --gray-25: #fcfcfd !important;
    --gray-50: #f9fafb !important;
    --gray-100: #f2f4f7 !important;
    --gray-200: #eaecf0 !important;
    --gray-300: #d0d5dd !important;
    --gray-400: #98a2b3 !important;
    --gray-500: #667085 !important;
    --gray-600: #475467 !important;
    --gray-700: #344054 !important;
    --gray-800: #1d2939 !important;
    --gray-900: #101828 !important;
}

/* Main Content Area - Always Keep White */
body.dark-theme .app-content-area {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Override all inline background: white styles */
body.dark-theme .app-content-area [style*="background: white"],
body.dark-theme .app-content-area [style*="background:white"],
body.dark-theme .app-content-area [style*="background: #fff"],
body.dark-theme .app-content-area [style*="background:#fff"],
body.dark-theme .app-content-area [style*="background: #ffffff"],
body.dark-theme .app-content-area [style*="background:#ffffff"] {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Override CSS variable backgrounds that might be dark */
body.dark-theme .app-content-area [style*="background: var(--gray-50)"],
body.dark-theme .app-content-area [style*="background: var(--gray-100)"],
body.dark-theme .app-content-area [style*="background:var(--gray-50)"],
body.dark-theme .app-content-area [style*="background:var(--gray-100)"] {
    background: #f9fafb !important;
    color: #111827 !important;
}

/* All Cards and Content Cards - Keep White */
body.dark-theme .app-content-area .content-card,
body.dark-theme .app-content-area .card,
body.dark-theme .app-content-area .stat-card,
body.dark-theme .app-content-area .stats-grid .stat-card,
body.dark-theme .app-content-area div[style*="background: white"],
body.dark-theme .app-content-area div[style*="background:white"] {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

/* Card Headers */
body.dark-theme .app-content-area .card-header,
body.dark-theme .app-content-area .content-card .card-header {
    background: #f9fafb !important;
    color: #111827 !important;
    border-bottom-color: #e5e7eb !important;
}

/* Card Bodies */
body.dark-theme .app-content-area .card-body,
body.dark-theme .app-content-area .content-card .card-body {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Page Headers - Override all background styles */
body.dark-theme .app-content-area .page-header,
body.dark-theme .app-content-area .page-header[style] {
    background: transparent !important;
    color: #111827 !important;
}

body.dark-theme .app-content-area .page-title,
body.dark-theme .app-content-area .page-description {
    color: #111827 !important;
}

/* Tables */
body.dark-theme .app-content-area .table {
    background: #ffffff !important;
    color: #111827 !important;
}

body.dark-theme .app-content-area .table th,
body.dark-theme .app-content-area .table td {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

body.dark-theme .app-content-area .table thead th {
    background: #f9fafb !important;
    color: #374151 !important;
    border-color: #e5e7eb !important;
}

body.dark-theme .app-content-area .table-hover tbody tr:hover {
    background: #f9fafb !important;
    color: #111827 !important;
}

/* Form Elements */
body.dark-theme .app-content-area .form-control,
body.dark-theme .app-content-area .form-select,
body.dark-theme .app-content-area .form-check-input {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
}

body.dark-theme .app-content-area .form-control:focus,
body.dark-theme .app-content-area .form-select:focus {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

/* Buttons - Keep Normal Styling */
body.dark-theme .app-content-area .btn-outline-secondary {
    color: #6b7280 !important;
    border-color: #d1d5db !important;
    background: #ffffff !important;
}

body.dark-theme .app-content-area .btn-outline-secondary:hover {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

/* Badges - Keep original styling for proper contrast */
body.dark-theme .app-content-area .badge {
    /* Preserve original badge styles for proper color contrast */
    color: inherit;
}

/* Dropdown Menus */
body.dark-theme .app-content-area .dropdown-menu {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

body.dark-theme .app-content-area .dropdown-item {
    color: #111827 !important;
}

body.dark-theme .app-content-area .dropdown-item:hover,
body.dark-theme .app-content-area .dropdown-item:focus {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

/* Pagination */
body.dark-theme .app-content-area .pagination {
    background: transparent !important;
}

body.dark-theme .app-content-area .page-link {
    background: #ffffff !important;
    color: #374151 !important;
    border-color: #d1d5db !important;
}

body.dark-theme .app-content-area .page-link:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

body.dark-theme .app-content-area .page-item.active .page-link {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

/* Alerts - Keep original styling for proper visibility */
body.dark-theme .app-content-area .alert {
    /* Preserve original alert styles for proper visibility and accessibility */
    background: inherit;
}

/* Modal Content */
body.dark-theme .modal-content {
    background: #ffffff !important;
    color: #111827 !important;
}

body.dark-theme .modal-header {
    background: #f9fafb !important;
    color: #111827 !important;
    border-bottom-color: #e5e7eb !important;
}

/* List Groups */
body.dark-theme .app-content-area .list-group-item {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

/* Nav Pills and Tabs */
body.dark-theme .app-content-area .nav-pills .nav-link {
    color: #6b7280 !important;
}

body.dark-theme .app-content-area .nav-pills .nav-link.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

/* Breadcrumbs */
body.dark-theme .app-content-area .breadcrumb {
    background: transparent !important;
}

body.dark-theme .app-content-area .breadcrumb-item,
body.dark-theme .app-content-area .breadcrumb-item a {
    color: #6b7280 !important;
}

/* Search Results */
body.dark-theme .app-content-area .search-results,
body.dark-theme .app-content-area .search-result-item {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Progress Bars */
body.dark-theme .app-content-area .progress {
    background: #f3f4f6 !important;
}

/* Tooltips */
body.dark-theme .tooltip .tooltip-inner {
    background: #374151 !important;
    color: #ffffff !important;
}

/* Popovers */
body.dark-theme .popover {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #e5e7eb !important;
}

body.dark-theme .popover-header {
    background: #f9fafb !important;
    color: #111827 !important;
}

/* Customer specific elements */
body.dark-theme .app-content-area .customer-row,
body.dark-theme .app-content-area .customer-info,
body.dark-theme .app-content-area .customer-link {
    background: transparent !important;
    color: #111827 !important;
}

body.dark-theme .app-content-area .customer-link:hover {
    color: #3b82f6 !important;
}

/* Stats Grid */
body.dark-theme .app-content-area .stats-grid {
    background: transparent !important;
}

/* Action Buttons - Keep original styling */
body.dark-theme .app-content-area .page-actions .btn {
    /* Preserve original button styles for consistency */
    background: inherit;
}

/* Card Actions - Keep original styling */
body.dark-theme .app-content-area .card-actions .btn {
    /* Preserve original button styles for consistency */
    background: inherit;
}

/* SERVICES SPECIFIC OVERRIDES */
/* Override all service template inline backgrounds */
.app-content-area .service-card,
.app-content-area .bay-card,
.app-content-area .order-card,
.app-content-area .content-card {
    background: #ffffff !important;
    color: #111827 !important;
}

body.dark-theme .app-content-area .service-card,
body.dark-theme .app-content-area .bay-card,
body.dark-theme .app-content-area .order-card,
body.dark-theme .app-content-area .content-card {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Service list specific overrides */
body.dark-theme .app-content-area .service-item,
body.dark-theme .app-content-area .service-row {
    background: #ffffff !important;
    color: #111827 !important;
}

/* CUSTOMERS SPECIFIC OVERRIDES */
/* Override all customer template inline backgrounds */
.app-content-area .customer-card,
.app-content-area .vehicle-card,
.app-content-area .content-card {
    background: #ffffff !important;
    color: #111827 !important;
}

body.dark-theme .app-content-area .customer-card,
body.dark-theme .app-content-area .vehicle-card,
body.dark-theme .app-content-area .content-card {
    background: #ffffff !important;
    color: #111827 !important;
}

/* COMPREHENSIVE INLINE STYLE OVERRIDES */
/* Override any element with white background inline style */
body.dark-theme .app-content-area *[style*="background: white"],
body.dark-theme .app-content-area *[style*="background:white"],
body.dark-theme .app-content-area *[style*="background: #fff"],
body.dark-theme .app-content-area *[style*="background:#fff"],
body.dark-theme .app-content-area *[style*="background: #ffffff"],
body.dark-theme .app-content-area *[style*="background:#ffffff"] {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Override gray background variables to light colors */
body.dark-theme .app-content-area *[style*="background: var(--gray-50)"],
body.dark-theme .app-content-area *[style*="background:var(--gray-50)"] {
    background: #f9fafb !important;
}

body.dark-theme .app-content-area *[style*="background: var(--gray-100)"],
body.dark-theme .app-content-area *[style*="background:var(--gray-100)"] {
    background: #f3f4f6 !important;
}

/* Override linear gradients that might be too dark */
body.dark-theme .app-content-area *[style*="linear-gradient"] {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Keep specific gradients for certain elements like buttons */
body.dark-theme .app-content-area .btn[style*="linear-gradient"],
body.dark-theme .app-content-area .badge[style*="linear-gradient"] {
    background: initial !important; /* Keep original button/badge gradients */
}

/* Additional comprehensive overrides for common elements */
body.dark-theme .app-content-area .container,
body.dark-theme .app-content-area .container-fluid,
body.dark-theme .app-content-area .row,
body.dark-theme .app-content-area .col,
body.dark-theme .app-content-area .col-md-12,
body.dark-theme .app-content-area .col-lg-12 {
    background: transparent !important;
    color: #111827 !important;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    animation: slideIn 0.2s ease;
}

/* ========================================
   FOCUS STATES
======================================== */
.sidebar-toggle:focus,
.quick-action-btn:focus,
.notification-btn:focus,
.user-menu:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ========================================
   SCROLLBAR STYLING
======================================== */
.app-content-area::-webkit-scrollbar {
    width: 6px;
}

.app-content-area::-webkit-scrollbar-track {
    background: var(--nexus-light-surface);
}

.app-content-area::-webkit-scrollbar-thumb {
    background: var(--nexus-light-border);
    border-radius: 3px;
}

.app-content-area::-webkit-scrollbar-thumb:hover {
    background: var(--nexus-light-muted);
}
