/*
 * =============================================
 *  DROOM - Premium Admin Dashboard Template
 *  Version: 1.0.0
 *  CSS Theme Stylesheet
 * =============================================
 */

/* ==========================================
   1. CSS Variables / Root
   ========================================== */
:root {
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --primary-light: #EEF2FF;
    --primary-rgb: 99, 102, 241;
    --secondary: #8B5CF6;
    --secondary-hover: #7C3AED;
    --secondary-light: #F5F3FF;
    --success: #22C55E;
    --success-hover: #16A34A;
    --success-light: #F0FDF4;
    --warning: #F59E0B;
    --warning-hover: #D97706;
    --warning-light: #FFFBEB;
    --danger: #EF4444;
    --danger-hover: #DC2626;
    --danger-light: #FEF2F2;
    --info: #06B6D4;
    --info-hover: #0891B2;
    --info-light: #ECFEFF;
    --dark: #1E293B;
    --light: #F1F5F9;
    --white: #FFFFFF;
    --muted: #94A3B8;
    --body-bg: #F1F5F9;
    --body-color: #334155;
    --heading-color: #1E293B;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 4px 8px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.1);
    --card-radius: 14px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --sidebar-bg: rgba(15, 23, 42, 0.78);
    --sidebar-color: #94A3B8;
    --sidebar-active: #FFFFFF;
    --sidebar-hover-bg: rgba(255,255,255,0.06);
    --sidebar-float-margin: 14px;
    --sidebar-float-radius: 20px;
    --topbar-height: 70px;
    --topbar-bg: rgba(255, 255, 255, 0.75);
    --topbar-float-margin-x: 24px;
    --topbar-float-margin-top: 14px;
    --topbar-float-radius: 16px;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --primary-glow: rgba(99, 102, 241, 0.5);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-float: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-neon-primary: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(99, 102, 241, 0.15);
}

/* ==========================================
   2. Base / Reset Styles
   ========================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body-color);
    background-color: var(--body-bg);
    background-image:
        radial-gradient(ellipse 600px 400px at 0% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 100% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

::selection {
    background: var(--primary);
    color: #fff;
}

/* ==========================================
   3. Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

.display-1 { font-size: 5rem; font-weight: 800; }
.display-2 { font-size: 4.5rem; font-weight: 800; }
.display-3 { font-size: 4rem; font-weight: 700; }
.display-4 { font-size: 3.5rem; font-weight: 700; }
.display-5 { font-size: 3rem; font-weight: 600; }
.display-6 { font-size: 2.5rem; font-weight: 600; }

p { margin-top: 0; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; font-weight: 400; line-height: 1.7; color: #64748B; }
.fw-semibold { font-weight: 600; }
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   4. Layout
   ========================================== */
.main-content {
    margin-left: calc(var(--sidebar-width) + var(--sidebar-float-margin));
    min-height: 100vh;
    transition: var(--transition);
}

.sidebar-collapsed .main-content {
    margin-left: calc(var(--sidebar-collapsed-width) + var(--sidebar-float-margin));
}

.page-content {
    padding: 24px;
    padding-top: calc(var(--topbar-height) + var(--topbar-float-margin-top) + 24px);
    min-height: calc(100vh - 60px);
}

/* ==========================================
   5. Sidebar
   ========================================== */
.sidebar {
    position: fixed;
    top: var(--sidebar-float-margin);
    left: var(--sidebar-float-margin);
    width: var(--sidebar-width);
    height: calc(100vh - var(--sidebar-float-margin) * 2);
    background: var(--sidebar-bg);
    z-index: 1040;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-radius: var(--sidebar-float-radius);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-float), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.sidebar-header {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5), transparent);
    opacity: 0.6;
}

.sidebar-logo {
    display: flex;
    align-items: center;
}

.sidebar-logo .logo-full { height: 36px; }
.sidebar-logo .logo-icon { height: 36px; display: none; }

.sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 0;
}

.sidebar-body::-webkit-scrollbar { width: 4px; }
.sidebar-body::-webkit-scrollbar-track { background: transparent; }
.sidebar-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

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

.menu-header {
    padding: 20px 24px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(148, 163, 184, 0.6);
}

.menu-item { position: relative; }

.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--sidebar-color);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 0;
    margin: 1px 12px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    gap: 12px;
}

.menu-link svg,
.menu-link i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke-width: 1.8;
    opacity: 0.7;
}

.menu-link .menu-text { flex: 1; white-space: nowrap; }

.menu-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sidebar-active);
    backdrop-filter: blur(4px);
}

.menu-link:hover svg,
.menu-link:hover i {
    opacity: 1;
    color: var(--primary);
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4));
}

.menu-item.active > .menu-link {
    background: rgba(99, 102, 241, 0.15);
    color: #fff;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1) inset;
    position: relative;
    overflow: visible;
}

.menu-item.active > .menu-link::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 0 3px 3px 0;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow), 0 0 16px var(--primary-glow);
    animation: neonPulse 2s ease-in-out infinite;
}

.menu-item.active > .menu-link svg,
.menu-item.active > .menu-link i {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.6));
}

.has-submenu > .menu-link::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.has-submenu.active > .menu-link::after {
    transform: rotate(45deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.submenu.show { max-height: 500px; }

.submenu li a {
    display: block;
    padding: 7px 20px 7px 56px;
    color: var(--sidebar-color);
    font-size: 13px;
    font-weight: 400;
    position: relative;
    transition: var(--transition);
    text-decoration: none;
}

.submenu li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sidebar-color);
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    transition: var(--transition);
}

.submenu li a:hover,
.submenu li a.active {
    color: var(--sidebar-active);
}

.submenu li a:hover::before,
.submenu li a.active::before {
    background: var(--primary);
    opacity: 1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6), 0 0 16px rgba(99, 102, 241, 0.3);
    animation: neonPulse 2s ease-in-out infinite;
}

/* Sidebar collapsed */
.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width);
}

.sidebar-collapsed .sidebar .menu-header,
.sidebar-collapsed .sidebar .menu-text,
.sidebar-collapsed .sidebar .submenu,
.sidebar-collapsed .sidebar .has-submenu > .menu-link::after,
.sidebar-collapsed .sidebar .menu-link .badge {
    display: none;
}

.sidebar-collapsed .sidebar .logo-full { display: none; }
.sidebar-collapsed .sidebar .logo-icon { display: block; }

.sidebar-collapsed .sidebar .menu-link {
    justify-content: center;
    padding: 10px;
    margin: 2px 10px;
}

.sidebar-collapsed .sidebar .menu-link svg { margin: 0; }

/* Sidebar hover expand */
.sidebar-hover .sidebar {
    width: var(--sidebar-width);
    box-shadow: var(--shadow-float), 0 0 40px rgba(99, 102, 241, 0.08);
}

.sidebar-hover .sidebar .menu-header,
.sidebar-hover .sidebar .menu-text,
.sidebar-hover .sidebar .has-submenu > .menu-link::after,
.sidebar-hover .sidebar .menu-link .badge {
    display: block;
}

.sidebar-hover .sidebar .logo-full { display: block; }
.sidebar-hover .sidebar .logo-icon { display: none; }

.sidebar-hover .sidebar .menu-link {
    justify-content: flex-start;
    padding: 10px 20px;
    margin: 1px 12px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* ==========================================
   6. Header / Topbar
   ========================================== */
.topbar {
    position: fixed;
    top: var(--topbar-float-margin-top);
    left: calc(var(--sidebar-width) + var(--sidebar-float-margin) + var(--topbar-float-margin-x));
    right: var(--topbar-float-margin-x);
    height: var(--topbar-height);
    background: var(--topbar-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1030;
    transition: var(--transition);
    border-radius: var(--topbar-float-radius);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-float);
}

.sidebar-collapsed .topbar {
    left: calc(var(--sidebar-collapsed-width) + var(--sidebar-float-margin) + var(--topbar-float-margin-x));
}

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

.topbar-mobile-logo {
    display: flex;
    align-items: center;
}
.topbar-mobile-logo img {
    height: 28px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-toggle {
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 8px;
    color: var(--heading-color);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.sidebar-toggle:hover {
    background: var(--light);
    color: var(--primary);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box .search-icon {
    position: absolute;
    left: 14px;
    color: var(--muted);
    width: 16px;
    height: 16px;
}

.search-box .form-control {
    padding-left: 42px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(241, 245, 249, 0.8);
    min-width: 280px;
    height: 42px;
    font-size: 13.5px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.search-box .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(99, 102, 241, 0.08);
    min-width: 340px;
}

.btn.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    color: var(--heading-color);
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-spring);
}

.btn.btn-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.btn.btn-icon:hover {
    background: var(--light);
    color: var(--primary);
    transform: scale(1.05);
}

/* Notification */
.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: badgePulse 2s ease-in-out infinite;
}

.notification-dropdown {
    width: 360px;
    padding: 0;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: dropdownSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-dropdown .dropdown-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.notification-dropdown .dropdown-header h6 { color: #fff; }
.notification-dropdown .dropdown-header a { color: rgba(255,255,255,0.8); }
.notification-dropdown .dropdown-header a:hover { color: #fff; }

.notification-list {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 20px;
    gap: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--body-color);
    border-bottom: 1px solid var(--border-color);
}

.notification-item:hover {
    background: var(--light);
    color: var(--body-color);
}

.notification-item.unread {
    background: rgba(99, 102, 241, 0.04);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon svg { width: 18px; height: 18px; }

.notification-content p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.notification-content small { font-size: 11.5px; }

.dropdown-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
}

.dropdown-footer a { font-size: 13px; font-weight: 600; }

/* User Dropdown */
.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 10px;
    transition: var(--transition);
}

.topbar-user:hover { background: rgba(99, 102, 241, 0.06); }

.user-info {
    text-align: left;
    line-height: 1.3;
}

.user-name {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--heading-color);
}

.user-role {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
}

.topbar-user svg { width: 14px; height: 14px; color: var(--muted); }

.user-dropdown {
    width: 240px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: dropdownSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light);
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--body-color);
}

.user-dropdown .dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.user-dropdown .dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.user-dropdown .dropdown-item:hover svg { opacity: 1; }

.user-dropdown .dropdown-item.text-danger:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* ==========================================
   7. Page Header
   ========================================== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--heading-color);
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 13px;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

.page-header-actions {
    display: flex;
    gap: 10px;
}

.btn-icon-prepend {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -2px;
}

/* ==========================================
   8. Cards
   ========================================== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin-bottom: 0;
    position: relative;
}

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

.card-header {
    padding: 18px 24px;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--heading-color);
}

.card-body { padding: 24px; }
.card-footer {
    padding: 16px 24px;
    background: transparent;
    border-top: 1px solid var(--border-color);
}

/* Stat Cards */
.stat-card {
    border: none;
    overflow: hidden;
    position: relative;
}

.stat-card .card-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
}

.stat-card.gradient-primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.stat-card.gradient-success {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #fff;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.stat-card.gradient-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.stat-card.gradient-info {
    background: linear-gradient(135deg, #06B6D4, #0891B2);
    color: #fff;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.stat-card.gradient-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.stat-card.gradient-secondary {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }

.stat-number {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: inherit;
}

.stat-label {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.stat-change svg { width: 14px; height: 14px; }
.stat-change.positive { color: rgba(255,255,255,0.9); }
.stat-change.negative { color: rgba(255,255,255,0.9); }

/* Light stat cards */
.stat-card-light {
    border: none;
    border-left: 4px solid;
}

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

/* ==========================================
   9. Soft Background Utilities
   ========================================== */
.bg-soft-primary { background-color: var(--primary-light) !important; color: var(--primary) !important; }
.bg-soft-success { background-color: var(--success-light) !important; color: var(--success) !important; }
.bg-soft-warning { background-color: var(--warning-light) !important; color: var(--warning) !important; }
.bg-soft-danger { background-color: var(--danger-light) !important; color: var(--danger) !important; }
.bg-soft-info { background-color: var(--info-light) !important; color: var(--info) !important; }
.bg-soft-secondary { background-color: var(--secondary-light) !important; color: var(--secondary) !important; }

.badge.bg-soft-primary,
.badge.bg-soft-success,
.badge.bg-soft-warning,
.badge.bg-soft-danger,
.badge.bg-soft-info,
.badge.bg-soft-secondary {
    font-weight: 600;
    font-size: 11.5px;
    padding: 5px 10px;
    border-radius: 6px;
}

/* ==========================================
   10. Avatars
   ========================================== */
.avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-xs { width: 24px; height: 24px; font-size: 10px; }
.avatar-sm { width: 36px; height: 36px; font-size: 13px; }
.avatar-md { width: 44px; height: 44px; font-size: 15px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl { width: 80px; height: 80px; font-size: 28px; }
.avatar-xxl { width: 110px; height: 110px; font-size: 38px; }

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.avatar-square .avatar-placeholder,
.avatar-square img {
    border-radius: 10px;
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.avatar-status.online { background: var(--success); }
.avatar-status.offline { background: var(--muted); }
.avatar-status.away { background: var(--warning); }
.avatar-status.busy { background: var(--danger); }

.avatar-group {
    display: flex;
}

.avatar-group .avatar {
    margin-left: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.avatar-group .avatar:first-child { margin-left: 0; }

/* ==========================================
   11. Charts
   ========================================== */
.chart-container { min-height: 300px; }
.chart-container-sm { min-height: 200px; }
.chart-container-lg { min-height: 400px; }

/* ==========================================
   12. Tables
   ========================================== */
.table { color: var(--body-color); }

.table thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    border-bottom: 2px solid var(--border-color);
    padding: 14px 16px;
    white-space: nowrap;
    background: var(--light);
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}

.table-hover tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.03);
}

.table .form-check-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ==========================================
   13. Activity List
   ========================================== */
.activity-list { position: relative; }

.activity-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}

.activity-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.activity-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 36px;
    bottom: -4px;
    width: 2px;
    background: var(--border-color);
}

.activity-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}

.activity-content p { font-size: 13.5px; }

/* ==========================================
   14. Team List
   ========================================== */
.team-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.team-member:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.team-member-info { flex: 1; }
.team-member-info h6 { font-size: 13.5px; }
.team-member-info small { font-size: 12px; }

/* ==========================================
   15. Top Products
   ========================================== */
.top-product-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

.top-product-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.product-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-img svg { width: 22px; height: 22px; }
.product-info { flex: 1; }
.product-info h6 { font-size: 13.5px; margin-bottom: 2px; }
.product-stats h6 { font-size: 14px; }
.product-stats small svg { width: 12px; height: 12px; }

/* ==========================================
   16. Progress
   ========================================== */
.progress { border-radius: 10px; background: #E2E8F0; overflow: hidden; }
.progress-lg { height: 10px; }
.progress-sm { height: 5px; }
.progress-bar { border-radius: 10px; transition: width 1.5s ease-in-out; }

/* ==========================================
   17. Dot Indicator
   ========================================== */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ==========================================
   18. Buttons (Enhanced)
   ========================================== */
.btn {
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: var(--transition-spring);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}

.btn:focus { box-shadow: none; }

.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99,102,241,0.4); }

.btn-success { background: var(--success); border-color: var(--success); }
.btn-success:hover { background: var(--success-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(34,197,94,0.4); }

.btn-warning { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { background: var(--warning-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(245,158,11,0.4); }

.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(239,68,68,0.4); }

.btn-info { background: var(--info); border-color: var(--info); color: #fff; }
.btn-info:hover { background: var(--info-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(6,182,212,0.4); }

.btn-secondary { background: var(--secondary); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(139,92,246,0.4); }

.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #0F172A; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,41,59,0.4); }

.btn-outline-primary { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-outline-secondary { border: 1px solid var(--border-color); color: var(--body-color); background: transparent; }
.btn-outline-secondary:hover { background: var(--light); color: var(--heading-color); }

.btn-outline-success { border: 1px solid var(--success); color: var(--success); background: transparent; }
.btn-outline-success:hover { background: var(--success); color: #fff; }

.btn-outline-danger { border: 1px solid var(--danger); color: var(--danger); background: transparent; }
.btn-outline-danger:hover { background: var(--danger); color: #fff; }

.btn-outline-warning { border: 1px solid var(--warning); color: var(--warning); background: transparent; }
.btn-outline-warning:hover { background: var(--warning); color: #fff; }

.btn-outline-info { border: 1px solid var(--info); color: var(--info); background: transparent; }
.btn-outline-info:hover { background: var(--info); color: #fff; }

.btn-gradient-primary { background: linear-gradient(135deg, #6366F1, #8B5CF6); color: #fff; }
.btn-gradient-primary:hover { box-shadow: 0 8px 24px rgba(99,102,241,0.45); transform: translateY(-2px); color: #fff; }

.btn-gradient-success { background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff; }
.btn-gradient-success:hover { box-shadow: 0 8px 24px rgba(34,197,94,0.45); transform: translateY(-2px); color: #fff; }

.btn-gradient-danger { background: linear-gradient(135deg, #EF4444, #DC2626); color: #fff; }
.btn-gradient-danger:hover { box-shadow: 0 8px 24px rgba(239,68,68,0.45); transform: translateY(-2px); color: #fff; }

.btn-gradient-warning { background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; }
.btn-gradient-warning:hover { box-shadow: 0 8px 24px rgba(245,158,11,0.45); transform: translateY(-2px); color: #fff; }

.btn-gradient-info { background: linear-gradient(135deg, #06B6D4, #0891B2); color: #fff; }
.btn-gradient-info:hover { box-shadow: 0 8px 24px rgba(6,182,212,0.45); transform: translateY(-2px); color: #fff; }

/* Gradient button shimmer effect */
[class*="btn-gradient-"] {
    position: relative;
    overflow: hidden;
}

[class*="btn-gradient-"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

[class*="btn-gradient-"]:hover::after {
    left: 100%;
}

.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 8px; }
.btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 6px; }

/* Social Buttons */
.btn-facebook { background: #1877F2; color: #fff; }
.btn-twitter { background: #1DA1F2; color: #fff; }
.btn-google { background: #EA4335; color: #fff; }
.btn-github { background: #333; color: #fff; }
.btn-linkedin { background: #0A66C2; color: #fff; }

/* ==========================================
   19. Forms (Enhanced)
   ========================================== */
.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    font-size: 13.5px;
    color: var(--body-color);
    transition: var(--transition);
    height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-control-lg { padding: 12px 20px; font-size: 15px; border-radius: 12px; }
.form-control-sm { padding: 7px 12px; font-size: 12px; border-radius: 8px; }

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 6px;
}

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

.form-check-input {
    border-radius: 4px;
    border-color: var(--border-color);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-switch .form-check-input {
    border-radius: 20px;
    width: 44px;
    height: 22px;
}

.input-group .form-control { border-radius: 0; }
.input-group .form-control:first-child { border-radius: 10px 0 0 10px; }
.input-group .form-control:last-child { border-radius: 0 10px 10px 0; }

.input-group-text {
    border-radius: 10px;
    border-color: var(--border-color);
    background: var(--light);
    font-size: 13.5px;
}

/* File Drop Zone */
.file-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ==========================================
   20. Dropdown (Enhanced)
   ========================================== */
.dropdown-menu:not(.dropdown-menu-dark) {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: dropdownSlideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu.dropdown-menu-dark {
    border-radius: 14px;
    padding: 8px;
    animation: dropdownSlideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--light);
    color: var(--primary);
}

.dropdown-item svg { width: 16px; height: 16px; opacity: 0.6; }
.dropdown-item:hover svg { opacity: 1; }
.dropdown-divider { border-color: var(--border-color); margin: 4px 0; }

/* ==========================================
   21. Modal (Enhanced)
   ========================================== */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-body { padding: 24px; }

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.btn-close { opacity: 0.5; }
.btn-close:hover { opacity: 1; }

/* ==========================================
   22. Tabs (Enhanced)
   ========================================== */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
    color: var(--muted);
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.nav-tabs .nav-link:hover { color: var(--primary); border-color: transparent; }
.nav-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); background: transparent; }

.nav-pills .nav-link {
    color: var(--body-color);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-pills .nav-link.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* Underline tabs */
.nav-underline .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 12px 20px;
    color: var(--muted);
    font-weight: 600;
}

.nav-underline .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

/* ==========================================
   23. Pagination (Enhanced)
   ========================================== */
.page-link {
    border-radius: 8px;
    border: none;
    margin: 0 3px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 13px;
    color: var(--body-color);
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ==========================================
   24. Alerts (Enhanced)
   ========================================== */
.alert {
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 13.5px;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

.alert-primary { background: var(--primary-light); color: var(--primary); }
.alert-success { background: var(--success-light); color: var(--success); }
.alert-warning { background: var(--warning-light); color: #92400E; }
.alert-danger { background: var(--danger-light); color: var(--danger); }
.alert-info { background: var(--info-light); color: var(--info); }

/* ==========================================
   25. Accordion (Enhanced)
   ========================================== */
.accordion-button {
    font-weight: 600;
    font-size: 14px;
    color: var(--heading-color);
    padding: 16px 20px;
    border-radius: 10px;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; border-color: var(--border-color); }
.accordion-item { border-color: var(--border-color); border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.accordion-body { padding: 16px 20px; font-size: 13.5px; line-height: 1.7; }

/* ==========================================
   26. Toast (Enhanced)
   ========================================== */
.toast { border: none; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

/* ==========================================
   27. Offcanvas (Enhanced)
   ========================================== */
.offcanvas {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.offcanvas-header { padding: 20px 24px; }
.offcanvas-title { font-weight: 700; }
.offcanvas-body { padding: 0 24px 24px; }

/* ==========================================
   28. Chat Interface
   ========================================== */
.chat-container {
    display: flex;
    height: calc(100vh - var(--topbar-height) - 130px);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.chat-sidebar {
    width: 320px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

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

.chat-contact-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.chat-contact-item:hover,
.chat-contact-item.active {
    background: var(--primary-light);
}

.chat-contact-info { flex: 1; min-width: 0; }
.chat-contact-info h6 { font-size: 13.5px; margin-bottom: 2px; }
.chat-contact-info p { font-size: 12px; color: var(--muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-item { display: flex; gap: 10px; max-width: 70%; }
.message-sent { align-self: flex-end; flex-direction: row-reverse; }
.message-received { align-self: flex-start; }

.message-bubble {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
}

.message-sent .message-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-received .message-bubble {
    background: var(--light);
    color: var(--body-color);
    border-bottom-left-radius: 4px;
}

.message-time { font-size: 11px; opacity: 0.7; display: block; margin-top: 4px; }
.message-avatar { flex-shrink: 0; }

.chat-input-area {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input-area .form-control {
    border-radius: 24px;
    padding: 10px 20px;
}

/* ==========================================
   29. Email App
   ========================================== */
.email-container {
    display: flex;
    height: calc(100vh - var(--topbar-height) - 130px);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.email-sidebar {
    width: 260px;
    border-right: 1px solid var(--border-color);
    padding: 20px;
    flex-shrink: 0;
}

.email-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--body-color);
    font-weight: 500;
    font-size: 13.5px;
    border-radius: 8px;
    margin-bottom: 2px;
}

.email-sidebar .nav-link svg { width: 16px; height: 16px; }
.email-sidebar .nav-link:hover { background: var(--light); }
.email-sidebar .nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

.email-content { flex: 1; display: flex; flex-direction: column; }

.email-toolbar {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-list { flex: 1; overflow-y: auto; }

.email-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.email-item:hover { background: rgba(99, 102, 241, 0.03); }
.email-item.unread { background: rgba(99, 102, 241, 0.04); }
.email-item.unread .email-subject { font-weight: 700; }

.email-star { cursor: pointer; color: var(--muted); transition: var(--transition); }
.email-star.starred { color: var(--warning); }
.email-star:hover { color: var(--warning); }

.email-sender { font-weight: 600; font-size: 13.5px; min-width: 160px; }
.email-subject { font-size: 13.5px; color: var(--heading-color); }
.email-preview { font-size: 13px; color: var(--muted); margin-left: 4px; }
.email-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.email-time { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ==========================================
   30. Kanban Board
   ========================================== */
.kanban-board {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    min-height: 500px;
}

.kanban-column {
    min-width: 300px;
    max-width: 320px;
    flex-shrink: 0;
    background: var(--light);
    border-radius: var(--card-radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

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

.kanban-column-header h6 { font-size: 14px; font-weight: 700; margin: 0; }
.kanban-count { font-size: 12px; background: var(--border-color); padding: 2px 8px; border-radius: 10px; font-weight: 700; }

.kanban-items { flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 50px; }

.kanban-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: grab;
    transition: var(--transition);
}

.kanban-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }
.kanban-card h6 { font-size: 14px; margin-bottom: 8px; }
.kanban-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }

.kanban-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kanban-ghost { opacity: 0.4; }
.kanban-drag { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ==========================================
   31. File Manager
   ========================================== */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.file-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(99,102,241,0.1); }

.file-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon svg { width: 28px; height: 28px; }
.file-card h6 { font-size: 13.5px; margin-bottom: 4px; }
.file-card small { font-size: 12px; color: var(--muted); }

/* ==========================================
   32. Todo App
   ========================================== */
.todo-list { list-style: none; padding: 0; margin: 0; }

.todo-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.todo-item.completed .todo-text {
    text-decoration: line-through;
    opacity: 0.5;
}

.todo-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.todo-text { font-size: 14px; }

.todo-delete {
    opacity: 0;
    transition: var(--transition);
    color: var(--danger);
}

.todo-item:hover .todo-delete { opacity: 1; }

/* ==========================================
   33. Invoice
   ========================================== */
.invoice-card { max-width: 900px; margin: 0 auto; }

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.invoice-to {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.invoice-table thead th { font-weight: 700; }
.invoice-total { text-align: right; margin-top: 20px; }
.invoice-total table { margin-left: auto; }
.invoice-total td { padding: 6px 16px; }

/* ==========================================
   34. Pricing
   ========================================== */
.pricing-card {
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid var(--border-color);
    background: #fff;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border-color: var(--primary);
    position: relative;
    background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}

.pricing-card.popular::before {
    content: 'POPULAR';
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heading-color);
    margin: 20px 0;
}

.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child { border: none; }

/* ==========================================
   35. Blog
   ========================================== */
.blog-card { overflow: hidden; }

.blog-card .blog-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 48px;
    position: relative;
}

.blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
}

.blog-card .card-body { padding: 20px; }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.blog-meta svg { width: 14px; height: 14px; }

/* ==========================================
   36. Profile
   ========================================== */
.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6, #06B6D4);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    position: relative;
}

.profile-info {
    text-align: center;
    margin-top: -50px;
    padding: 0 24px 24px;
}

.profile-info .avatar { border: 4px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.profile-stats .stat-item { text-align: center; }
.profile-stats .stat-item h4 { margin-bottom: 2px; }
.profile-stats .stat-item small { color: var(--muted); }

/* ==========================================
   37. Timeline
   ========================================== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item.success::before { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-item.warning::before { background: var(--warning); box-shadow: 0 0 0 2px var(--warning); }
.timeline-item.danger::before { background: var(--danger); box-shadow: 0 0 0 2px var(--danger); }
.timeline-item.info::before { background: var(--info); box-shadow: 0 0 0 2px var(--info); }

.timeline-date { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }

/* ==========================================
   38. Auth Pages
   ========================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.auth-card .logo { margin-bottom: 32px; text-align: center; }
.auth-card .logo img { height: 42px; }
.auth-card h3 { text-align: center; margin-bottom: 8px; }
.auth-card p.lead { text-align: center; margin-bottom: 32px; font-size: 14px; }

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span { padding: 0 16px; }

.social-login {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-login .btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth Cover layout */
.auth-cover {
    min-height: 100vh;
    display: flex;
}

.auth-cover-side {
    flex: 1;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #fff;
}

.auth-cover-side h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.auth-cover-side p { font-size: 16px; opacity: 0.85; line-height: 1.7; }
.auth-cover-side .feature-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.auth-cover-side .feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.15); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}

.auth-cover-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-cover-form .auth-card {
    box-shadow: none;
    max-width: 420px;
    padding: 0;
}

/* ==========================================
   39. Error Pages
   ========================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background: var(--body-bg);
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page h3 { font-size: 1.75rem; margin-bottom: 12px; }
.error-page p { font-size: 15px; color: var(--muted); max-width: 500px; margin: 0 auto 24px; }

/* Coming Soon */
.countdown-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0;
}

.countdown-box {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
}

.countdown-box .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.countdown-box .label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ==========================================
   40. Icon Grid
   ========================================== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.icon-item svg { width: 24px; height: 24px; margin-bottom: 8px; color: var(--body-color); }
.icon-item:hover svg { color: var(--primary); }
.icon-item span { font-size: 11px; color: var(--muted); word-break: break-all; }
.icon-item:hover span { color: var(--primary); }

/* ==========================================
   41. Star Rating
   ========================================== */
.star-rating { display: inline-flex; gap: 4px; }

.star-rating .star {
    cursor: pointer;
    color: #CBD5E1;
    transition: var(--transition);
    font-size: 24px;
}

.star-rating .star.active,
.star-rating .star.hover { color: #F59E0B; }
.star-rating.readonly .star { cursor: default; }

/* ==========================================
   42. Treeview
   ========================================== */
.treeview { list-style: none; padding-left: 0; }

.treeview ul {
    list-style: none;
    padding-left: 24px;
}

.treeview-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.treeview-item.open > .treeview-children { max-height: 1000px; }

.treeview-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
    color: var(--body-color);
    text-decoration: none;
}

.treeview-toggle:hover { background: var(--light); color: var(--primary); }
.treeview-toggle svg { width: 16px; height: 16px; }

/* ==========================================
   43. Form Wizard
   ========================================== */
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    counter-reset: step;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 0 24px;
}

.wizard-step::before {
    counter-increment: step;
    content: counter(step);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.wizard-step.active::before {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.wizard-step.completed::before {
    background: var(--success);
    color: #fff;
    content: '\2713';
}

.wizard-step-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.wizard-step.active .wizard-step-label { color: var(--heading-color); }
.wizard-step.completed .wizard-step-label { color: var(--success); }

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--border-color);
}

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

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

/* ==========================================
   44. Preloader
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.preloader-inner { text-align: center; }

/* ==========================================
   45. Back to Top
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); }
.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================
   46. Footer
   ========================================== */
.footer {
    padding: 20px 0;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--muted);
}

/* ==========================================
   47. Animations
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(99, 102, 241, 0.5), 0 0 16px rgba(99, 102, 241, 0.3);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 12px rgba(99, 102, 241, 0.8), 0 0 24px rgba(99, 102, 241, 0.5);
        opacity: 0.85;
    }
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ambientShift {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.5s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.5s ease forwards; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease forwards; }
.animate-slideInRight { animation: slideInRight 0.5s ease forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 1.5s ease infinite; }

/* ==========================================
   48. Utility Classes
   ========================================== */
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.gradient-primary { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.gradient-success { background: linear-gradient(135deg, #22C55E, #16A34A); }
.gradient-warning { background: linear-gradient(135deg, #F59E0B, #D97706); }
.gradient-danger { background: linear-gradient(135deg, #EF4444, #DC2626); }
.gradient-info { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.gradient-dark { background: linear-gradient(135deg, #1E293B, #0F172A); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.shadow-medium { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.shadow-strong { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.border-dashed { border-style: dashed !important; }
.rounded-xl { border-radius: 16px !important; }
.rounded-2xl { border-radius: 20px !important; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }

.min-h-300 { min-height: 300px; }
.min-h-400 { min-height: 400px; }

/* ==========================================
   49. DataTables Override
   ========================================== */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px;
    border: none !important;
    padding: 6px 12px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    color: #fff !important;
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    border: none;
}

.dataTables_wrapper .dataTables_info { font-size: 13px; color: var(--muted); }

/* ==========================================
   50. FullCalendar Override
   ========================================== */
.fc .fc-toolbar-title { font-size: 1.25rem; font-weight: 700; }
.fc .fc-button { border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.fc .fc-button-primary { background: var(--primary); border-color: var(--primary); }
.fc .fc-button-primary:hover { background: var(--primary-hover); }
.fc .fc-button-primary:not(:disabled).fc-button-active { background: var(--primary-hover); }
.fc .fc-daygrid-event { border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.fc .fc-today-button { border-radius: 8px; }
.fc td, .fc th { border-color: var(--border-color); }

/* ==========================================
   51. Flatpickr Override
   ========================================== */
.flatpickr-calendar { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); border: none; }
.flatpickr-day.selected { background: var(--primary); border-color: var(--primary); }
.flatpickr-day.today { border-color: var(--primary); }
.flatpickr-months .flatpickr-month { border-radius: 12px 12px 0 0; }

/* ==========================================
   52. SweetAlert2 Override
   ========================================== */
.swal2-popup { border-radius: 16px; padding: 32px; }
.swal2-title { font-size: 1.25rem; font-weight: 700; }
.swal2-confirm { border-radius: 10px; padding: 10px 24px; font-weight: 600; }
.swal2-cancel { border-radius: 10px; padding: 10px 24px; font-weight: 600; }

/* ==========================================
   53. Dark Mode
   ========================================== */
.dark-mode {
    --body-bg: #0B1120;
    --body-color: #CBD5E1;
    --bs-body-color: #CBD5E1;
    --heading-color: #F1F5F9;
    --card-bg: rgba(30, 41, 59, 0.8);
    --border-color: #334155;
    --bs-border-color: #334155;
    --light: #1E293B;
    --topbar-bg: rgba(30, 41, 59, 0.75);
    --sidebar-bg: rgba(11, 17, 32, 0.82);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.4);
    --card-shadow-hover: 0 4px 8px rgba(0,0,0,0.35), 0 12px 28px rgba(0,0,0,0.45);
    --primary-light: rgba(99, 102, 241, 0.15);
    --success-light: rgba(34, 197, 94, 0.15);
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger-light: rgba(239, 68, 68, 0.15);
    --info-light: rgba(6, 182, 212, 0.15);
    --secondary-light: rgba(139, 92, 246, 0.15);
}

.dark-mode .sidebar {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-float), 0 0 30px rgba(99, 102, 241, 0.06);
}

.dark-mode .topbar {
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .menu-item.active > .menu-link::before {
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.7), 0 0 24px rgba(99, 102, 241, 0.4);
}

.dark-mode .search-box .form-control { background: rgba(15, 23, 42, 0.8); border-color: #334155; color: #CBD5E1; }
.dark-mode .text-muted { color: #94A3B8 !important; }
.dark-mode .bg-light { background-color: #1E293B !important; }
.dark-mode .text-dark { color: #CBD5E1 !important; }
.dark-mode .page-link { background-color: #1E293B !important; color: #CBD5E1 !important; border-color: #334155 !important; }
.dark-mode .page-link:hover { background-color: #334155 !important; color: #F1F5F9 !important; }
.dark-mode .page-item.active .page-link { background-color: #6366f1 !important; border-color: #6366f1 !important; color: #fff !important; }
.dark-mode .page-item.disabled .page-link { background-color: #0F172A !important; color: #64748B !important; border-color: #334155 !important; }
.dark-mode .alert-secondary { background-color: rgba(51,65,85,0.4) !important; color: #CBD5E1 !important; border-color: #334155 !important; }
.dark-mode .avatar-group .avatar { border-color: #1E293B !important; }
.dark-mode .bg-body-tertiary { background-color: #1E293B !important; }
.dark-mode .bg-body-tertiary .navbar-text, .dark-mode .bg-body-tertiary .nav-link, .dark-mode .bg-body-tertiary .navbar-brand { color: #CBD5E1 !important; }
.dark-mode .bg-body-tertiary .form-control { background-color: #0F172A !important; border-color: #334155 !important; color: #CBD5E1 !important; }
.dark-mode .bg-body-tertiary .form-control::placeholder { color: #64748B !important; }
.dark-mode .btn-close { filter: invert(1) grayscale(100%) brightness(200%) !important; }
.dark-mode .swal2-popup { background: #1E293B !important; color: #CBD5E1 !important; }
.dark-mode .swal2-title { color: #F1F5F9 !important; }
.dark-mode .swal2-html-container { color: #94A3B8 !important; }
.dark-mode .swal2-close { color: #94A3B8 !important; }
.dark-mode .swal2-close:hover { color: #F1F5F9 !important; }
.dark-mode .swal2-input, .dark-mode .swal2-textarea { background: #0F172A !important; border-color: #334155 !important; color: #CBD5E1 !important; }
.dark-mode .form-floating > label { color: #94A3B8 !important; }
.dark-mode .flatpickr-calendar { background: #1E293B !important; box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important; border: 1px solid #334155 !important; }
.dark-mode .flatpickr-months .flatpickr-month { background: #1E293B !important; color: #F1F5F9 !important; }
.dark-mode .flatpickr-current-month .flatpickr-monthDropdown-months { background: #1E293B !important; color: #F1F5F9 !important; }
.dark-mode .flatpickr-current-month input.cur-year { color: #F1F5F9 !important; }
.dark-mode .flatpickr-months .flatpickr-prev-month, .dark-mode .flatpickr-months .flatpickr-next-month { color: #94A3B8 !important; fill: #94A3B8 !important; }
.dark-mode .flatpickr-months .flatpickr-prev-month:hover, .dark-mode .flatpickr-months .flatpickr-next-month:hover { color: #F1F5F9 !important; fill: #F1F5F9 !important; }
.dark-mode .flatpickr-weekdays { background: #1E293B !important; }
.dark-mode span.flatpickr-weekday { color: #64748B !important; background: #1E293B !important; }
.dark-mode .flatpickr-day { color: #CBD5E1 !important; }
.dark-mode .flatpickr-day:hover { background: #334155 !important; border-color: #334155 !important; }
.dark-mode .flatpickr-day.today { border-color: #6366f1 !important; }
.dark-mode .flatpickr-day.selected { background: #6366f1 !important; border-color: #6366f1 !important; color: #fff !important; }
.dark-mode .flatpickr-day.prevMonthDay, .dark-mode .flatpickr-day.nextMonthDay { color: #475569 !important; }
.dark-mode .flatpickr-day.flatpickr-disabled { color: #334155 !important; }
.dark-mode .flatpickr-time { border-top-color: #334155 !important; }
.dark-mode .flatpickr-time input, .dark-mode .flatpickr-time .flatpickr-am-pm { color: #CBD5E1 !important; background: #1E293B !important; }
.dark-mode .flatpickr-time input:hover, .dark-mode .flatpickr-time .flatpickr-am-pm:hover { background: #334155 !important; }
.dark-mode .flatpickr-time .flatpickr-time-separator { color: #64748B !important; }
.dark-mode .form-range::-webkit-slider-runnable-track { background-color: #334155 !important; }
.dark-mode .form-range::-moz-range-track { background-color: #334155 !important; }

/* Dark Mode - Tables */
.dark-mode .table {
    --bs-table-bg: transparent;
    --bs-table-color: #CBD5E1;
    --bs-table-border-color: #334155;
    --bs-table-striped-bg: rgba(15, 23, 42, 0.5);
    --bs-table-striped-color: #CBD5E1;
    --bs-table-hover-bg: rgba(99, 102, 241, 0.08);
    --bs-table-hover-color: #CBD5E1;
    --bs-table-active-bg: rgba(99, 102, 241, 0.15);
    --bs-table-active-color: #CBD5E1;
    color: #CBD5E1;
    border-color: #334155;
}
.dark-mode .table thead th { background: rgba(30, 41, 59, 0.8); color: #94A3B8; border-color: #334155; }
.dark-mode .table tfoot th { background: rgba(30, 41, 59, 0.8); color: #94A3B8; border-color: #334155; }
.dark-mode .table tbody td { border-color: #334155; }
.dark-mode .table-bordered { border-color: #334155; }
.dark-mode .table-bordered > :not(caption) > * > * { border-color: #334155; }
.dark-mode .table-primary { --bs-table-bg: rgba(99, 102, 241, 0.15); --bs-table-color: #CBD5E1; --bs-table-border-color: #334155; --bs-table-striped-bg: rgba(99, 102, 241, 0.18); --bs-table-hover-bg: rgba(99, 102, 241, 0.22); }
.dark-mode .table > :not(caption) > * > * { box-shadow: none; }
.dark-mode .table-light { --bs-table-bg: rgba(30, 41, 59, 0.8); --bs-table-color: #94A3B8; --bs-table-border-color: #334155; --bs-table-striped-bg: rgba(30, 41, 59, 0.6); --bs-table-hover-bg: rgba(99, 102, 241, 0.1); }
.dark-mode .table-light th,
.dark-mode .table-light td { color: #94A3B8; }

/* Dark Mode - DataTables */
.dark-mode .dataTables_wrapper .dataTables_length label,
.dark-mode .dataTables_wrapper .dataTables_filter label,
.dark-mode .dataTables_wrapper .dataTables_info { color: #94A3B8; }
.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button { color: #94A3B8 !important; border-color: #334155 !important; background: transparent !important; }
.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button:hover { color: #fff !important; background: rgba(99, 102, 241, 0.3) !important; border-color: rgba(99, 102, 241, 0.5) !important; }
.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current { color: #fff !important; background: var(--primary) !important; border-color: var(--primary) !important; }
.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.disabled { color: #475569 !important; }
.dark-mode table.dataTable.table-striped > tbody > tr.odd > * { box-shadow: inset 0 0 0 9999px rgba(15, 23, 42, 0.5); }
.dark-mode table.dataTable.table-striped > tbody > tr:hover > * { box-shadow: inset 0 0 0 9999px rgba(99, 102, 241, 0.08); }
.dark-mode table.dataTable tbody tr.selected > * { box-shadow: inset 0 0 0 9999px rgba(99, 102, 241, 0.15); }
.dark-mode table.dataTable.no-footer { border-bottom-color: #334155; }
.dark-mode .dataTables_wrapper .dataTables_length select { background-color: rgba(15, 23, 42, 0.8); border-color: #334155; color: #CBD5E1; }
.dark-mode .dataTables_scrollHead { background: rgba(30, 41, 59, 0.8); }
.dark-mode table.dataTable thead .sorting::before,
.dark-mode table.dataTable thead .sorting::after,
.dark-mode table.dataTable thead .sorting_asc::before,
.dark-mode table.dataTable thead .sorting_asc::after,
.dark-mode table.dataTable thead .sorting_desc::before,
.dark-mode table.dataTable thead .sorting_desc::after { opacity: 0.3; }
.dark-mode table.dataTable thead .sorting_asc::before,
.dark-mode table.dataTable thead .sorting_desc::after { opacity: 0.8; }

.dark-mode .form-control,
.dark-mode .form-select { background: rgba(15, 23, 42, 0.8); border-color: #334155; color: #CBD5E1; }
.dark-mode .dropdown-menu:not(.dropdown-menu-dark) { background: rgba(30, 41, 59, 0.92); backdrop-filter: blur(20px) saturate(180%); border-color: rgba(255, 255, 255, 0.06); }
.dark-mode .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item { color: #CBD5E1; }
.dark-mode .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:hover { background: rgba(99, 102, 241, 0.12); color: var(--primary); }
.dark-mode .modal-content { background: rgba(30, 41, 59, 0.95); backdrop-filter: blur(20px); border-color: rgba(255, 255, 255, 0.06); }
.dark-mode .offcanvas { background: #1E293B; }
.dark-mode .kanban-column { background: rgba(15, 23, 42, 0.8); }
.dark-mode .kanban-card { background: rgba(30, 41, 59, 0.9); }
.dark-mode .file-card { background: rgba(30, 41, 59, 0.8); border-color: #334155; }
.dark-mode .pricing-card { background: rgba(30, 41, 59, 0.8); border-color: #334155; }
.dark-mode .email-container,
.dark-mode .chat-container { background: rgba(30, 41, 59, 0.8); border-color: #334155; }
.dark-mode .message-received .message-bubble { background: #334155; color: #CBD5E1; }
.dark-mode .accordion-button { background: rgba(30, 41, 59, 0.8); color: #CBD5E1; }
.dark-mode .accordion-button:not(.collapsed) { background: rgba(99,102,241,0.15); color: var(--primary); }
.dark-mode .accordion-item { border-color: #334155; background: rgba(30, 41, 59, 0.8); }
.dark-mode .list-group-item { background: rgba(30, 41, 59, 0.8); border-color: #334155; color: #CBD5E1; }
.dark-mode .icon-item { border-color: #334155; }
.dark-mode .icon-item:hover { background: rgba(99,102,241,0.1); }
.dark-mode .nav-tabs { border-color: #334155; }
.dark-mode .nav-tabs .nav-link { color: #94A3B8; }
.dark-mode #preloader { background: #0B1120; }
.dark-mode .auth-card { background: rgba(30, 41, 59, 0.9); }
.dark-mode .breadcrumb-item.active { color: var(--primary); }
.dark-mode .notification-dropdown,
.dark-mode .user-dropdown { background: rgba(30, 41, 59, 0.92); border-color: rgba(255, 255, 255, 0.06); }

/* Dark Mode - ApexCharts */
.dark-mode .apexcharts-text,
.dark-mode .apexcharts-text tspan { fill: #94A3B8 !important; }
.dark-mode .apexcharts-title-text { fill: #CBD5E1 !important; }
.dark-mode .apexcharts-legend-text { color: #94A3B8 !important; }
.dark-mode .apexcharts-gridline { stroke: #1E293B !important; }
.dark-mode .apexcharts-grid-borders line { stroke: #1E293B !important; }
.dark-mode .apexcharts-xaxis line,
.dark-mode .apexcharts-yaxis line { stroke: #334155 !important; }
.dark-mode .apexcharts-xaxis-tick { stroke: #334155 !important; }
.dark-mode .apexcharts-tooltip.apexcharts-theme-light { background: rgba(30, 41, 59, 0.95) !important; border-color: #334155 !important; color: #CBD5E1 !important; }
.dark-mode .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title { background: rgba(15, 23, 42, 0.8) !important; border-bottom-color: #334155 !important; color: #CBD5E1 !important; }
.dark-mode .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-text-y-label,
.dark-mode .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-text-y-value { color: #CBD5E1 !important; }
.dark-mode .apexcharts-xaxistooltip { background: rgba(30, 41, 59, 0.95) !important; border-color: #334155 !important; color: #CBD5E1 !important; }
.dark-mode .apexcharts-xaxistooltip::before { border-bottom-color: #334155 !important; }
.dark-mode .apexcharts-xaxistooltip::after { border-bottom-color: rgba(30, 41, 59, 0.95) !important; }
.dark-mode .apexcharts-yaxistooltip { background: rgba(30, 41, 59, 0.95) !important; border-color: #334155 !important; color: #CBD5E1 !important; }
.dark-mode .apexcharts-yaxistooltip::before { border-left-color: #334155 !important; }
.dark-mode .apexcharts-yaxistooltip::after { border-left-color: rgba(30, 41, 59, 0.95) !important; }
.dark-mode .apexcharts-menu { background: rgba(30, 41, 59, 0.95) !important; border-color: #334155 !important; }
.dark-mode .apexcharts-menu-item { color: #CBD5E1 !important; }
.dark-mode .apexcharts-menu-item:hover { background: rgba(99, 102, 241, 0.15) !important; }
.dark-mode .apexcharts-zoom-icon svg,
.dark-mode .apexcharts-zoomin-icon svg,
.dark-mode .apexcharts-zoomout-icon svg,
.dark-mode .apexcharts-reset-icon svg,
.dark-mode .apexcharts-pan-icon svg,
.dark-mode .apexcharts-selection-icon svg,
.dark-mode .apexcharts-menu-icon svg,
.dark-mode .apexcharts-toolbar svg { fill: #94A3B8 !important; }
.dark-mode .apexcharts-zoom-icon.apexcharts-selected svg,
.dark-mode .apexcharts-selection-icon.apexcharts-selected svg { fill: var(--primary) !important; }
.dark-mode .apexcharts-xcrosshairs,
.dark-mode .apexcharts-ycrosshairs { stroke: #475569 !important; }
.dark-mode .apexcharts-radialbar-track .apexcharts-radialbar-area { stroke: #1E293B !important; }
.dark-mode .apexcharts-pie-label { fill: #CBD5E1 !important; }
.dark-mode .apexcharts-datalabel-label { fill: #94A3B8 !important; }
.dark-mode .apexcharts-datalabel-value { fill: #CBD5E1 !important; }

/* ==========================================
   54. Responsive
   ========================================== */
@media (max-width: 1199.98px) {
    .page-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 991.98px) {
    .sidebar {
        top: 0;
        left: -100%;
        height: 100vh;
        border-radius: 0;
        transform: none;
    }

    .sidebar-mobile-open .sidebar {
        left: 0;
    }

    .main-content { margin-left: 0; }
    .topbar {
        left: var(--topbar-float-margin-x);
        right: var(--topbar-float-margin-x);
    }
    .sidebar-collapsed .main-content { margin-left: 0; }
    .sidebar-collapsed .topbar {
        left: var(--topbar-float-margin-x);
    }

    .chat-sidebar { width: 260px; }
    .email-sidebar { width: 220px; }

    .stat-card .card-body { padding: 20px; }
    .stat-number { font-size: 1.5rem; }
    .stat-icon { width: 50px; height: 50px; }

    .auth-cover-side { display: none; }
}

@media (max-width: 767.98px) {
    .page-content { padding: 16px; padding-top: calc(var(--topbar-height) + var(--topbar-float-margin-top) + 16px); }
    .topbar {
        padding: 0 16px;
        left: 10px;
        right: 10px;
        top: 8px;
        border-radius: 14px;
    }
    .topbar-user .user-info { display: none; }
    .topbar-user svg:last-child { display: none; }

    .search-box { display: none; }
    .search-box.show-mobile {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 10px 16px;
        background: var(--topbar-bg);
        border-radius: 0 0 14px 14px;
    }
    .search-box.show-mobile .form-control { min-width: auto; width: 100%; }

    .chat-container { flex-direction: column; height: auto; }
    .chat-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); max-height: 300px; }
    .chat-messages { min-height: 300px; }

    .email-container { flex-direction: column; height: auto; }
    .email-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); }

    .kanban-board { flex-direction: column; }
    .kanban-column { min-width: auto; max-width: none; }

    .notification-dropdown { width: 300px; }
    .user-dropdown { width: 220px; }

    .error-code { font-size: 5rem; }
    .countdown-box { width: 70px; height: 70px; }
    .countdown-box .number { font-size: 1.5rem; }

    .invoice-to { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .page-title { font-size: 1.25rem; }
    .topbar {
        left: 8px;
        right: 8px;
        top: 6px;
        border-radius: 12px;
    }
    .stat-card .card-body { flex-direction: column; text-align: center; }
    .stat-icon { margin: 0 auto 12px; }
    .file-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .icon-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
    .countdown-container { gap: 8px; }
    .countdown-box { width: 60px; height: 60px; border-radius: 10px; }
    .countdown-box .number { font-size: 1.2rem; }
    .auth-card { padding: 24px; }
    .pricing-card { padding: 24px 20px; }
}

/* ==========================================
   55. Print Styles
   ========================================== */
@media print {
    .sidebar,
    .topbar,
    .back-to-top,
    #preloader,
    .sidebar-overlay,
    .page-header-actions,
    .btn,
    .dropdown { display: none !important; }

    .main-content { margin-left: 0 !important; }
    .page-content { padding: 0 !important; padding-top: 0 !important; }
    body { background: #fff !important; color: #000 !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}


/* ==========================================
   56. GLOBAL PREMIUM ENHANCEMENTS
   Glassmorphic upgrades for all pages.
   Page-specific themes (with !important) override these.
   ========================================== */

/* --- Keyframe Animations --- */
@keyframes premiumFadeIn {
    0% { opacity: 0; transform: translateY(16px) scale(0.98); }
    60% { opacity: 1; transform: translateY(-2px) scale(1.003); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes premiumShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes premiumPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes authOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes errorGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { text-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 80px rgba(139, 92, 246, 0.3); }
}

/* --- Enhanced Cards --- */
.page-content .card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow:
        0 4px 24px rgba(99, 102, 241, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: visible;
    animation: premiumFadeIn 0.5s ease-out both;
}

/* Staggered card animations */
.page-content .row > [class*="col-"]:nth-child(1) > .card { animation-delay: 0.05s; }
.page-content .row > [class*="col-"]:nth-child(2) > .card { animation-delay: 0.1s; }
.page-content .row > [class*="col-"]:nth-child(3) > .card { animation-delay: 0.15s; }
.page-content .row > [class*="col-"]:nth-child(4) > .card { animation-delay: 0.2s; }
.page-content .row > [class*="col-"]:nth-child(5) > .card { animation-delay: 0.25s; }
.page-content .row > [class*="col-"]:nth-child(6) > .card { animation-delay: 0.3s; }

/* Gradient top accent border */
.page-content .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6, #A78BFA, #6366F1);
    background-size: 200% 100%;
    animation: premiumShimmer 4s linear infinite;
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

/* Raise z-index when dropdown is open so menus aren't clipped by cards below */
.page-content [class*="col"]:has(.show > .dropdown-menu),
.page-content [class*="col"]:has(.dropdown-menu.show) {
    position: relative;
    z-index: 10;
}

.page-content .card:has(.show > .dropdown-menu),
.page-content .card:has(.dropdown-menu.show) {
    z-index: 10;
}

/* Enhanced card hover */
.page-content .card:hover {
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Gradient card titles */
.page-content .card-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced card header */
.page-content .card-header {
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

/* Nested cards and border cards should not have the shimmer */
.page-content .card .card::before,
.page-content .card .card .card::before {
    display: none;
}
.page-content .card .card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
    border: 1px solid var(--border-color);
}

/* Gradient stat cards - keep their gradient bg */
.page-content .card.gradient-primary,
.page-content .card.gradient-success,
.page-content .card.gradient-warning,
.page-content .card.gradient-info,
.page-content .card.gradient-danger {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.page-content .card.gradient-primary { background: linear-gradient(135deg, #6366F1 0%, #818CF8 100%); }
.page-content .card.gradient-success { background: linear-gradient(135deg, #22C55E 0%, #4ADE80 100%); }
.page-content .card.gradient-warning { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%); }
.page-content .card.gradient-info { background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%); }
.page-content .card.gradient-danger { background: linear-gradient(135deg, #EF4444 0%, #F87171 100%); }
.page-content .card.gradient-primary .card-title,
.page-content .card.gradient-success .card-title,
.page-content .card.gradient-warning .card-title,
.page-content .card.gradient-info .card-title,
.page-content .card.gradient-danger .card-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
}

/* Stat card enhancements */
.page-content .stat-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.page-content .stat-card::before { display: none; }
.page-content .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* --- Enhanced Page Header --- */
.page-content .page-title {
    background: linear-gradient(135deg, #1E293B 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content .page-header {
    animation: premiumFadeIn 0.4s ease-out both;
}

.page-content .breadcrumb-item.active {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* --- Enhanced Tables --- */
.page-content .table thead th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.03));
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--heading-color);
    border-bottom: 2px solid rgba(99, 102, 241, 0.15);
    padding: 14px 16px;
}

.page-content .table tbody tr {
    transition: all 0.2s ease;
}

.page-content .table tbody tr:hover {
    background: rgba(99, 102, 241, 0.04);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
}

.page-content .table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* --- Enhanced Forms --- */
.page-content .form-control {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-content .form-control:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(99, 102, 241, 0.08);
}

.page-content .form-select {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-content .form-select:focus {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(99, 102, 241, 0.08);
}

.page-content .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.page-content .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--heading-color);
    letter-spacing: 0.01em;
}

/* --- Enhanced Badges --- */
.page-content .badge {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.page-content .badge.bg-soft-success { box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15); }
.page-content .badge.bg-soft-warning { box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15); }
.page-content .badge.bg-soft-danger { box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15); }
.page-content .badge.bg-soft-primary { box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15); }
.page-content .badge.bg-soft-info { box-shadow: 0 2px 8px rgba(6, 182, 212, 0.15); }

/* --- Enhanced Buttons --- */
.page-content .btn-primary {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-content .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

/* --- Enhanced Nav Tabs --- */
.page-content .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    border-color: rgba(99, 102, 241, 0.2) rgba(99, 102, 241, 0.2) transparent;
    color: var(--primary);
    font-weight: 600;
}

/* --- Enhanced List Group --- */
.page-content .list-group-item {
    transition: all 0.2s ease;
    border-color: rgba(226, 232, 240, 0.6);
}

.page-content .list-group-item:hover {
    background: rgba(99, 102, 241, 0.04);
    transform: translateX(2px);
}

/* --- Enhanced Pagination --- */
.page-content .page-item.active .page-link {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* --- Enhanced Accordion --- */
.page-content .accordion-item {
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.page-content .accordion-item:hover {
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.08);
}

.page-content .accordion-button {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--heading-color);
    border-radius: 12px !important;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.page-content .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.03));
    color: var(--primary);
    box-shadow: none;
}

.page-content .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    border-color: transparent;
}

.page-content .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Enhanced Alerts --- */
.page-content .alert {
    border-radius: 12px;
    border: none;
    font-size: 0.875rem;
    padding: 14px 18px;
}

.page-content .alert-primary {
    background: rgba(99, 102, 241, 0.1);
    color: #4338CA;
    border-left: 4px solid #6366F1;
}

.page-content .alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803D;
    border-left: 4px solid #22C55E;
}

.page-content .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #B45309;
    border-left: 4px solid #F59E0B;
}

.page-content .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #B91C1C;
    border-left: 4px solid #EF4444;
}

.page-content .alert-info {
    background: rgba(6, 182, 212, 0.1);
    color: #0E7490;
    border-left: 4px solid #06B6D4;
}

/* --- Enhanced Progress Bars --- */
.page-content .progress {
    border-radius: 100px;
    background: rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

.page-content .progress-bar {
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-content .progress-bar:not([class*="bg-"]) {
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
}

/* --- Enhanced Dropdown Menus --- */
.page-content .dropdown-menu:not(.dropdown-menu-dark) {
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 8px;
    animation: premiumFadeIn 0.2s ease-out;
}

.page-content .dropdown-menu.dropdown-menu-dark {
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: premiumFadeIn 0.2s ease-out;
}

.page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.page-content .dropdown-menu.dropdown-menu-dark .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:hover,
.page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:focus {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary);
}

.page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item.active,
.page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:active {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #fff;
}

.page-content .dropdown-divider {
    border-color: rgba(226, 232, 240, 0.6);
    margin: 4px 8px;
}

.page-content .dropdown-menu-dark .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- Enhanced Modal --- */
.modal-content {
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 18px 24px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.modal-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding: 14px 24px;
}

/* --- Enhanced Offcanvas --- */
.offcanvas {
    border: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 18px 24px;
}

.offcanvas-title {
    font-weight: 700;
}

/* --- Enhanced Toast --- */
.page-content .toast {
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.page-content .toast-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    border-radius: 12px 12px 0 0;
}

/* --- Enhanced Carousel --- */
.page-content .carousel {
    border-radius: 12px;
    overflow: hidden;
}

.page-content .carousel-control-prev,
.page-content .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    margin: 0 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.page-content .carousel-control-prev:hover,
.page-content .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

/* --- Enhanced Spinners --- */
.page-content .spinner-border {
    animation-duration: 0.65s;
}

/* --- Enhanced Tooltip custom classes --- */
.tooltip-primary .tooltip-inner {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
}
.tooltip-primary .tooltip-arrow::before { border-top-color: #6366F1; }

.tooltip-success .tooltip-inner {
    background: linear-gradient(135deg, #22C55E, #16A34A);
}
.tooltip-success .tooltip-arrow::before { border-top-color: #22C55E; }

.tooltip-warning .tooltip-inner {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #1E293B;
}
.tooltip-warning .tooltip-arrow::before { border-top-color: #F59E0B; }

.tooltip-danger .tooltip-inner {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}
.tooltip-danger .tooltip-arrow::before { border-top-color: #EF4444; }

/* --- Enhanced Auth Pages --- */
.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6366F1 100%);
    background-size: 200% 200%;
    animation: authOrbFloat 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle 400px at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 70%),
        radial-gradient(circle 300px at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
        radial-gradient(circle 250px at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: authOrbFloat 12s ease-in-out infinite reverse;
    pointer-events: none;
}

.auth-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: premiumFadeIn 0.6s ease-out both;
}

.auth-card .form-control {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 10px;
}

.auth-card .form-control:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.auth-card .input-group-text {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(226, 232, 240, 0.6);
    border-radius: 10px 0 0 10px;
}

.auth-card .social-login .btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.auth-card .social-login .btn:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Auth cover enhancements */
.auth-cover-side {
    background: linear-gradient(135deg, #6366F1, #8B5CF6, #A855F7);
    position: relative;
    overflow: hidden;
}

.auth-cover-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle 300px at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle 250px at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-cover-side .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Premium Auth Enhancements --- */

/* Remove ALL animation/transition from basic auth pages */
.auth-page.auth-premium {
    animation: none !important;
    transition: none !important;
}

.auth-page.auth-premium::before {
    animation: none !important;
    transition: none !important;
}

/* Static card (no animation for basic auth pages) */
.auth-page.auth-premium .auth-card.auth-card-static {
    animation: none !important;
    transition: none !important;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

/* Card top accent bar */
.auth-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 24px 24px 0 0;
    z-index: 1;
}

/* Decorative orbs for basic auth pages (static, no animation) */
.auth-premium .auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.auth-premium .auth-orb-1 {
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.08);
    top: -100px; right: -50px;
}

.auth-premium .auth-orb-2 {
    width: 200px; height: 200px;
    background: rgba(139,92,246,0.12);
    bottom: -60px; left: -40px;
}

.auth-premium .auth-orb-3 {
    width: 150px; height: 150px;
    background: rgba(99,102,241,0.1);
    top: 40%; left: 60%;
}

/* Gradient heading */
.auth-heading {
    background: linear-gradient(135deg, #312e81, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
}

/* Enhanced icon circle (for forgot/new-password) */
.auth-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.12));
    color: #6366f1;
    border: 2px solid rgba(99,102,241,0.15);
    position: relative;
}

.auth-icon-circle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(99,102,241,0.08);
}

/* Info note */
.auth-info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(99,102,241,0.04);
    border: 1px solid rgba(99,102,241,0.08);
    border-radius: 10px;
    color: #6366f1;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Password requirements */
.auth-pw-requirements {
    padding: 12px 14px;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.04);
}

.auth-pw-requirements p {
    color: #475569;
}

/* Trust badges row */
.auth-trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.auth-trust-item svg {
    color: #6366f1;
    opacity: 0.6;
}

/* --- Premium Cover Page Enhancements --- */

/* Cover floating orbs */
.auth-cover-premium .auth-cover-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.auth-cover-premium .auth-cover-orb-1 {
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.08);
    top: -60px; right: -30px;
    animation: authOrbFloat 8s ease-in-out infinite;
}

.auth-cover-premium .auth-cover-orb-2 {
    width: 150px; height: 150px;
    background: rgba(168,85,247,0.15);
    bottom: 10%; left: -40px;
    animation: authOrbFloat 10s ease-in-out infinite -3s;
}

.auth-cover-premium .auth-cover-orb-3 {
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.06);
    top: 50%; right: 20%;
    animation: authOrbFloat 7s ease-in-out infinite -5s;
}

/* Cover title with gradient */
.auth-cover-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cover stats row */
.auth-cover-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
}

.auth-cover-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-cover-stat-label {
    font-size: 0.72rem;
    opacity: 0.6;
    margin-top: 2px;
}

/* Cover testimonial */
.auth-cover-testimonial {
    margin-top: 28px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
}

/* Cover feature items enhancement */
.auth-cover-premium .feature-item {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px !important;
    transition: background 0.2s ease;
}

.auth-cover-premium .feature-item:hover {
    background: rgba(255,255,255,0.06);
}

.auth-cover-premium .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.2s ease;
}

.auth-cover-premium .feature-item:hover .feature-icon {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.2);
}

/* Cover form enhancements */
.auth-cover-premium .auth-cover-form {
    background: rgba(249,250,251,0.5);
}

.auth-cover-premium .auth-cover-form .auth-card {
    animation: premiumFadeIn 0.5s ease-out both;
}

/* Dark mode: Premium Auth */
.dark-mode .auth-heading,
[data-theme="dark"] .auth-heading {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .auth-icon-circle,
[data-theme="dark"] .auth-icon-circle {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
    color: #a5b4fc;
    border-color: rgba(99,102,241,0.2);
}

.dark-mode .auth-icon-circle::after,
[data-theme="dark"] .auth-icon-circle::after {
    border-color: rgba(99,102,241,0.1);
}

.dark-mode .auth-info-note,
[data-theme="dark"] .auth-info-note {
    background: rgba(99,102,241,0.06);
    border-color: rgba(99,102,241,0.1);
    color: #a5b4fc;
}

.dark-mode .auth-pw-requirements,
[data-theme="dark"] .auth-pw-requirements {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode .auth-pw-requirements p,
[data-theme="dark"] .auth-pw-requirements p {
    color: #94a3b8;
}

.dark-mode .auth-trust-row,
[data-theme="dark"] .auth-trust-row {
    border-top-color: rgba(255,255,255,0.06);
}

.dark-mode .auth-trust-item,
[data-theme="dark"] .auth-trust-item {
    color: #64748b;
}

.dark-mode .auth-trust-item svg,
[data-theme="dark"] .auth-trust-item svg {
    color: #818cf8;
}

.dark-mode .auth-cover-premium .auth-cover-form,
[data-theme="dark"] .auth-cover-premium .auth-cover-form {
    background: rgba(15,23,42,0.5);
}

.dark-mode .auth-cover-title,
[data-theme="dark"] .auth-cover-title {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive: Auth Premium */
@media (max-width: 991.98px) {
    .auth-cover-title { font-size: 1.6rem !important; }
    .auth-cover-stats { gap: 16px; padding: 12px 16px; }
    .auth-cover-stat-value { font-size: 1rem; }
    .auth-cover-testimonial { display: none; }
}

@media (max-width: 575.98px) {
    .auth-card { padding: 28px 20px !important; }
    .auth-trust-row { gap: 10px; }
    .auth-trust-item { font-size: 0.68rem; }
}

/* ===========================================
   Page: auth-login (Premium Login)
   ========================================== */

/* Wrapper - split card layout */
.auth-login-page .alog-wrapper {
    display: flex;
    width: 100%;
    max-width: 920px;
    min-height: 580px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.22),
        0 8px 32px rgba(99,102,241,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* Left brand panel */
.auth-login-page .alog-brand {
    width: 400px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #4338ca 0%, #6366f1 40%, #7c3aed 70%, #8b5cf6 100%);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-login-page .alog-brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.auth-login-page .alog-brand-orb-1 {
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.08);
    top: -50px; right: -40px;
}

.auth-login-page .alog-brand-orb-2 {
    width: 120px; height: 120px;
    background: rgba(168,85,247,0.2);
    bottom: -30px; left: -20px;
}

.auth-login-page .alog-brand-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
}

.auth-login-page .alog-brand-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Brand stats */
.auth-login-page .alog-brand-stats {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

.auth-login-page .alog-brand-stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-login-page .alog-brand-stat-lbl {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1px;
}

/* Brand features */
.auth-login-page .alog-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.auth-login-page .alog-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.auth-login-page .alog-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* Brand testimonial */
.auth-login-page .alog-testimonial {
    margin-top: 24px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.auth-login-page .alog-testimonial-quote {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-style: italic;
}

.auth-login-page .alog-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-login-page .alog-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.auth-login-page .alog-testimonial-role {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
}

/* Right form panel */
.auth-login-page .alog-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-login-page .alog-form-inner {
    width: 100%;
    max-width: 380px;
}

/* Icon wrap */
.auth-login-page .alog-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.1));
    border: 1px solid rgba(99,102,241,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
}

/* Title */
.auth-login-page .alog-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #312e81, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

/* Labels */
.auth-login-page .alog-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Custom inputs */
.auth-login-page .alog-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-login-page .alog-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-login-page .alog-input {
    padding: 11px 14px 11px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-login-page .alog-input:focus {
    background: #fff !important;
    border-color: rgba(99,102,241,0.4) !important;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.08) !important;
}

.auth-login-page .alog-input::placeholder {
    color: #94a3b8;
}

.auth-login-page .alog-eye-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.auth-login-page .alog-eye-btn:hover {
    color: #6366f1;
    background: rgba(99,102,241,0.04);
}

/* Forgot link */
.auth-login-page .alog-forgot-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
}

.auth-login-page .alog-forgot-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Submit button */
.auth-login-page .alog-submit-btn {
    background: linear-gradient(135deg, #4338ca, #6366f1, #7c3aed) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
    letter-spacing: 0.01em;
}

.auth-login-page .alog-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}

/* Divider */
.auth-login-page .alog-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 12px;
}

.auth-login-page .alog-divider::before,
.auth-login-page .alog-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.auth-login-page .alog-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Social buttons */
.auth-login-page .alog-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 10px !important;
    background: rgba(248,250,252,0.6) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.auth-login-page .alog-social-btn:hover {
    border-color: rgba(99,102,241,0.25) !important;
    background: rgba(99,102,241,0.03) !important;
    color: #4338ca !important;
}

/* Register link */
.auth-login-page .alog-register-link {
    color: #6366f1;
    font-weight: 700;
    text-decoration: none;
}

.auth-login-page .alog-register-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Trust badges */
.auth-login-page .alog-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-login-page .alog-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-login-page .alog-trust-item svg {
    color: #6366f1;
    opacity: 0.5;
}

.auth-login-page .alog-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth Login */
.dark-mode.auth-login-page .alog-wrapper,
[data-theme="dark"].auth-login-page .alog-wrapper {
    background: rgba(30,41,59,0.92);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.dark-mode.auth-login-page .alog-brand,
[data-theme="dark"].auth-login-page .alog-brand {
    background: linear-gradient(160deg, #272366 0%, #3730a3 40%, #4c1d95 70%, #5b21b6 100%);
}

.dark-mode.auth-login-page .alog-title,
[data-theme="dark"].auth-login-page .alog-title {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-login-page .alog-icon-wrap,
[data-theme="dark"].auth-login-page .alog-icon-wrap {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.14));
    border-color: rgba(99,102,241,0.15);
    color: #a5b4fc;
}

.dark-mode.auth-login-page .alog-label,
[data-theme="dark"].auth-login-page .alog-label {
    color: #94a3b8;
}

.dark-mode.auth-login-page .alog-input,
[data-theme="dark"].auth-login-page .alog-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-login-page .alog-input:focus,
[data-theme="dark"].auth-login-page .alog-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(99,102,241,0.3) !important;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1) !important;
}

.dark-mode.auth-login-page .alog-input-icon,
[data-theme="dark"].auth-login-page .alog-input-icon {
    color: #64748b;
}

.dark-mode.auth-login-page .alog-eye-btn,
[data-theme="dark"].auth-login-page .alog-eye-btn {
    color: #64748b;
}

.dark-mode.auth-login-page .alog-social-btn,
[data-theme="dark"].auth-login-page .alog-social-btn {
    background: rgba(30,41,59,0.4) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #94a3b8 !important;
}

.dark-mode.auth-login-page .alog-social-btn:hover,
[data-theme="dark"].auth-login-page .alog-social-btn:hover {
    border-color: rgba(99,102,241,0.2) !important;
    background: rgba(99,102,241,0.06) !important;
    color: #a5b4fc !important;
}

.dark-mode.auth-login-page .alog-divider::before,
.dark-mode.auth-login-page .alog-divider::after,
[data-theme="dark"].auth-login-page .alog-divider::before,
[data-theme="dark"].auth-login-page .alog-divider::after {
    background: rgba(255,255,255,0.06);
}

.dark-mode.auth-login-page .alog-trust,
[data-theme="dark"].auth-login-page .alog-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-login-page .alog-trust-item,
[data-theme="dark"].auth-login-page .alog-trust-item {
    color: #64748b;
}

.dark-mode.auth-login-page .alog-trust-item svg,
[data-theme="dark"].auth-login-page .alog-trust-item svg {
    color: #818cf8;
}

.dark-mode.auth-login-page .alog-trust-sep,
[data-theme="dark"].auth-login-page .alog-trust-sep {
    background: #475569;
}

/* Responsive: Auth Login */
@media (max-width: 991.98px) {
    .auth-login-page .alog-wrapper {
        flex-direction: column;
        max-width: 480px;
    }

    .auth-login-page .alog-brand {
        width: 100%;
        padding: 32px 28px;
    }

    .auth-login-page .alog-brand-title { font-size: 1.4rem; }
    .auth-login-page .alog-testimonial { display: none; }
    .auth-login-page .alog-form { padding: 32px 28px; }
}

@media (max-width: 575.98px) {
    .auth-login-page .alog-brand { padding: 24px 20px; }
    .auth-login-page .alog-brand-title { font-size: 1.2rem; }
    .auth-login-page .alog-brand-stats { gap: 10px; padding: 10px 12px; }
    .auth-login-page .alog-brand-stat-val { font-size: 0.9rem; }
    .auth-login-page .alog-features { display: none; }
    .auth-login-page .alog-form { padding: 24px 20px; }
    .auth-login-page .alog-title { font-size: 1.3rem; }
    .auth-login-page .alog-social-btn { font-size: 0.72rem !important; padding: 8px !important; }
}


/* ===========================================
   Page: auth-register (Premium Register)
   ========================================== */

/* Wrapper - split card layout */
.auth-register-page .areg-wrapper {
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 600px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.22),
        0 8px 32px rgba(99,102,241,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* Left brand panel */
.auth-register-page .areg-brand {
    width: 380px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #0f766e 0%, #0d9488 35%, #14b8a6 65%, #2dd4bf 100%);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-register-page .areg-brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.auth-register-page .areg-brand-orb-1 {
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.08);
    top: -50px; right: -40px;
}

.auth-register-page .areg-brand-orb-2 {
    width: 120px; height: 120px;
    background: rgba(6,182,212,0.2);
    bottom: -30px; left: -20px;
}

.auth-register-page .areg-brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
}

.auth-register-page .areg-brand-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Brand stats */
.auth-register-page .areg-brand-stats {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

.auth-register-page .areg-brand-stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-register-page .areg-brand-stat-lbl {
    font-size: 0.66rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1px;
}

/* Checklist */
.auth-register-page .areg-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.auth-register-page .areg-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.auth-register-page .areg-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* Brand testimonial */
.auth-register-page .areg-testimonial {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.auth-register-page .areg-testimonial-quote {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-style: italic;
}

.auth-register-page .areg-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-register-page .areg-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.auth-register-page .areg-testimonial-role {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
}

/* Right form panel */
.auth-register-page .areg-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 40px;
}

.auth-register-page .areg-form-inner {
    width: 100%;
    max-width: 400px;
}

/* Icon wrap */
.auth-register-page .areg-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(13,148,136,0.12));
    border: 1px solid rgba(20,184,166,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
}

/* Title */
.auth-register-page .areg-title {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e, #0d9488, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

/* Labels */
.auth-register-page .areg-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Custom inputs */
.auth-register-page .areg-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-register-page .areg-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-register-page .areg-input {
    padding: 10px 14px 10px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-register-page .areg-input:focus {
    background: #fff !important;
    border-color: rgba(20,184,166,0.4) !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.08) !important;
}

.auth-register-page .areg-input::placeholder {
    color: #94a3b8;
}

.auth-register-page .areg-eye-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.auth-register-page .areg-eye-btn:hover {
    color: #0d9488;
    background: rgba(20,184,166,0.04);
}

/* Terms */
.auth-register-page .areg-terms-label {
    font-size: 0.82rem;
    color: #64748b;
}

.auth-register-page .areg-terms-link {
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
}

.auth-register-page .areg-terms-link:hover {
    color: #0f766e;
    text-decoration: underline;
}

.auth-register-page .form-check-input:checked {
    background-color: #0d9488;
    border-color: #0d9488;
}

/* Submit button */
.auth-register-page .areg-submit-btn {
    background: linear-gradient(135deg, #0f766e, #0d9488, #14b8a6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
    letter-spacing: 0.01em;
}

.auth-register-page .areg-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(13,148,136,0.4);
}

/* Divider */
.auth-register-page .areg-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    gap: 12px;
}

.auth-register-page .areg-divider::before,
.auth-register-page .areg-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.auth-register-page .areg-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Social buttons */
.auth-register-page .areg-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 10px !important;
    background: rgba(248,250,252,0.6) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.auth-register-page .areg-social-btn:hover {
    border-color: rgba(20,184,166,0.25) !important;
    background: rgba(20,184,166,0.03) !important;
    color: #0f766e !important;
}

/* Login link */
.auth-register-page .areg-login-link {
    color: #0d9488;
    font-weight: 700;
    text-decoration: none;
}

.auth-register-page .areg-login-link:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Trust badges */
.auth-register-page .areg-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-register-page .areg-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-register-page .areg-trust-item svg {
    color: #0d9488;
    opacity: 0.5;
}

.auth-register-page .areg-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth Register */
.dark-mode.auth-register-page .areg-wrapper,
[data-theme="dark"].auth-register-page .areg-wrapper {
    background: rgba(30,41,59,0.92);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.dark-mode.auth-register-page .areg-brand,
[data-theme="dark"].auth-register-page .areg-brand {
    background: linear-gradient(160deg, #064e3b 0%, #065f46 35%, #047857 65%, #059669 100%);
}

.dark-mode.auth-register-page .areg-title,
[data-theme="dark"].auth-register-page .areg-title {
    background: linear-gradient(135deg, #5eead4, #99f6e4, #ccfbf1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-register-page .areg-icon-wrap,
[data-theme="dark"].auth-register-page .areg-icon-wrap {
    background: linear-gradient(135deg, rgba(20,184,166,0.12), rgba(13,148,136,0.14));
    border-color: rgba(20,184,166,0.15);
    color: #5eead4;
}

.dark-mode.auth-register-page .areg-label,
[data-theme="dark"].auth-register-page .areg-label {
    color: #94a3b8;
}

.dark-mode.auth-register-page .areg-input,
[data-theme="dark"].auth-register-page .areg-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-register-page .areg-input:focus,
[data-theme="dark"].auth-register-page .areg-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(20,184,166,0.3) !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.1) !important;
}

.dark-mode.auth-register-page .areg-input-icon,
[data-theme="dark"].auth-register-page .areg-input-icon {
    color: #64748b;
}

.dark-mode.auth-register-page .areg-eye-btn,
[data-theme="dark"].auth-register-page .areg-eye-btn {
    color: #64748b;
}

.dark-mode.auth-register-page .areg-terms-label,
[data-theme="dark"].auth-register-page .areg-terms-label {
    color: #94a3b8;
}

.dark-mode.auth-register-page .areg-terms-link,
[data-theme="dark"].auth-register-page .areg-terms-link {
    color: #5eead4;
}

.dark-mode.auth-register-page .areg-social-btn,
[data-theme="dark"].auth-register-page .areg-social-btn {
    background: rgba(30,41,59,0.4) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #94a3b8 !important;
}

.dark-mode.auth-register-page .areg-social-btn:hover,
[data-theme="dark"].auth-register-page .areg-social-btn:hover {
    border-color: rgba(20,184,166,0.2) !important;
    background: rgba(20,184,166,0.06) !important;
    color: #5eead4 !important;
}

.dark-mode.auth-register-page .areg-login-link,
[data-theme="dark"].auth-register-page .areg-login-link {
    color: #5eead4;
}

.dark-mode.auth-register-page .areg-divider::before,
.dark-mode.auth-register-page .areg-divider::after,
[data-theme="dark"].auth-register-page .areg-divider::before,
[data-theme="dark"].auth-register-page .areg-divider::after {
    background: rgba(255,255,255,0.06);
}

.dark-mode.auth-register-page .areg-trust,
[data-theme="dark"].auth-register-page .areg-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-register-page .areg-trust-item,
[data-theme="dark"].auth-register-page .areg-trust-item {
    color: #64748b;
}

.dark-mode.auth-register-page .areg-trust-item svg,
[data-theme="dark"].auth-register-page .areg-trust-item svg {
    color: #2dd4bf;
}

.dark-mode.auth-register-page .areg-trust-sep,
[data-theme="dark"].auth-register-page .areg-trust-sep {
    background: #475569;
}

/* Responsive: Auth Register */
@media (max-width: 991.98px) {
    .auth-register-page .areg-wrapper {
        flex-direction: column;
        max-width: 500px;
    }

    .auth-register-page .areg-brand {
        width: 100%;
        padding: 28px 24px;
    }

    .auth-register-page .areg-brand-title { font-size: 1.35rem; }
    .auth-register-page .areg-testimonial { display: none; }
    .auth-register-page .areg-form { padding: 28px 24px; }
}

@media (max-width: 575.98px) {
    .auth-register-page .areg-brand { padding: 22px 18px; }
    .auth-register-page .areg-brand-title { font-size: 1.2rem; }
    .auth-register-page .areg-brand-stats { gap: 10px; padding: 10px 12px; }
    .auth-register-page .areg-brand-stat-val { font-size: 0.9rem; }
    .auth-register-page .areg-checklist { display: none; }
    .auth-register-page .areg-form { padding: 22px 18px; }
    .auth-register-page .areg-title { font-size: 1.25rem; }
    .auth-register-page .areg-social-btn { font-size: 0.72rem !important; padding: 8px !important; }
}


/* ===========================================
   Page: auth-forgot (Premium Forgot Password)
   ========================================== */

/* Wrapper - split card layout */
.auth-forgot-page .afp-wrapper {
    display: flex;
    width: 100%;
    max-width: 880px;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.22),
        0 8px 32px rgba(245,158,11,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* Left brand panel */
.auth-forgot-page .afp-brand {
    width: 360px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #92400e 0%, #b45309 35%, #d97706 65%, #f59e0b 100%);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-forgot-page .afp-brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.auth-forgot-page .afp-brand-orb-1 {
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.08);
    top: -50px; right: -40px;
}

.auth-forgot-page .afp-brand-orb-2 {
    width: 120px; height: 120px;
    background: rgba(251,191,36,0.2);
    bottom: -30px; left: -20px;
}

.auth-forgot-page .afp-brand-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
}

.auth-forgot-page .afp-brand-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Brand stats */
.auth-forgot-page .afp-brand-stats {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

.auth-forgot-page .afp-brand-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-forgot-page .afp-brand-stat-lbl {
    font-size: 0.66rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1px;
}

/* Features */
.auth-forgot-page .afp-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.auth-forgot-page .afp-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.auth-forgot-page .afp-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* Testimonial */
.auth-forgot-page .afp-testimonial {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.auth-forgot-page .afp-testimonial-quote {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-style: italic;
}

.auth-forgot-page .afp-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-forgot-page .afp-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.auth-forgot-page .afp-testimonial-role {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
}

/* Right form panel */
.auth-forgot-page .afp-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 40px;
}

.auth-forgot-page .afp-form-inner {
    width: 100%;
    max-width: 380px;
}

/* Icon wrap */
.auth-forgot-page .afp-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(217,119,6,0.12));
    border: 1px solid rgba(245,158,11,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}

/* Title */
.auth-forgot-page .afp-title {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #92400e, #b45309, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

/* Labels */
.auth-forgot-page .afp-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Custom inputs */
.auth-forgot-page .afp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-forgot-page .afp-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-forgot-page .afp-input {
    padding: 11px 14px 11px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-forgot-page .afp-input:focus {
    background: #fff !important;
    border-color: rgba(245,158,11,0.4) !important;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.08) !important;
}

.auth-forgot-page .afp-input::placeholder {
    color: #94a3b8;
}

/* Submit button */
.auth-forgot-page .afp-submit-btn {
    background: linear-gradient(135deg, #b45309, #d97706, #f59e0b) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(217,119,6,0.3);
    letter-spacing: 0.01em;
}

.auth-forgot-page .afp-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(217,119,6,0.4);
}

/* Info note */
.auth-forgot-page .afp-info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(245,158,11,0.04);
    border: 1px solid rgba(245,158,11,0.1);
    border-radius: 10px;
    font-size: 0.78rem;
    color: #92400e;
    line-height: 1.4;
}

.auth-forgot-page .afp-info-note svg {
    color: #d97706;
    margin-top: 1px;
}

/* How it works steps */
.auth-forgot-page .afp-steps {
    margin-top: 20px;
    padding: 16px;
    background: rgba(248,250,252,0.6);
    border: 1px solid rgba(226,232,240,0.5);
    border-radius: 12px;
}

.auth-forgot-page .afp-steps-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 12px;
}

.auth-forgot-page .afp-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}

.auth-forgot-page .afp-step + .afp-step {
    border-top: 1px solid rgba(226,232,240,0.4);
}

.auth-forgot-page .afp-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.15));
    border: 1px solid rgba(245,158,11,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-forgot-page .afp-step-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

.auth-forgot-page .afp-step-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* Back link */
.auth-forgot-page .afp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #d97706;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
}

.auth-forgot-page .afp-back-link:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Trust badges */
.auth-forgot-page .afp-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-forgot-page .afp-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-forgot-page .afp-trust-item svg {
    color: #d97706;
    opacity: 0.5;
}

.auth-forgot-page .afp-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth Forgot */
.dark-mode.auth-forgot-page .afp-wrapper,
[data-theme="dark"].auth-forgot-page .afp-wrapper {
    background: rgba(30,41,59,0.92);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.dark-mode.auth-forgot-page .afp-brand,
[data-theme="dark"].auth-forgot-page .afp-brand {
    background: linear-gradient(160deg, #451a03 0%, #78350f 35%, #92400e 65%, #b45309 100%);
}

.dark-mode.auth-forgot-page .afp-title,
[data-theme="dark"].auth-forgot-page .afp-title {
    background: linear-gradient(135deg, #fde68a, #fcd34d, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-forgot-page .afp-icon-wrap,
[data-theme="dark"].auth-forgot-page .afp-icon-wrap {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(217,119,6,0.14));
    border-color: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.dark-mode.auth-forgot-page .afp-label,
[data-theme="dark"].auth-forgot-page .afp-label {
    color: #94a3b8;
}

.dark-mode.auth-forgot-page .afp-input,
[data-theme="dark"].auth-forgot-page .afp-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-forgot-page .afp-input:focus,
[data-theme="dark"].auth-forgot-page .afp-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(245,158,11,0.3) !important;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.1) !important;
}

.dark-mode.auth-forgot-page .afp-input-icon,
[data-theme="dark"].auth-forgot-page .afp-input-icon {
    color: #64748b;
}

.dark-mode.auth-forgot-page .afp-info-note,
[data-theme="dark"].auth-forgot-page .afp-info-note {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.1);
    color: #fbbf24;
}

.dark-mode.auth-forgot-page .afp-info-note svg,
[data-theme="dark"].auth-forgot-page .afp-info-note svg {
    color: #fbbf24;
}

.dark-mode.auth-forgot-page .afp-steps,
[data-theme="dark"].auth-forgot-page .afp-steps {
    background: rgba(30,41,59,0.4);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode.auth-forgot-page .afp-steps-title,
[data-theme="dark"].auth-forgot-page .afp-steps-title {
    color: #64748b;
}

.dark-mode.auth-forgot-page .afp-step + .afp-step,
[data-theme="dark"].auth-forgot-page .afp-step + .afp-step {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-forgot-page .afp-step-num,
[data-theme="dark"].auth-forgot-page .afp-step-num {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(217,119,6,0.16));
    border-color: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.dark-mode.auth-forgot-page .afp-step-heading,
[data-theme="dark"].auth-forgot-page .afp-step-heading {
    color: #e2e8f0;
}

.dark-mode.auth-forgot-page .afp-step-desc,
[data-theme="dark"].auth-forgot-page .afp-step-desc {
    color: #64748b;
}

.dark-mode.auth-forgot-page .afp-back-link,
[data-theme="dark"].auth-forgot-page .afp-back-link {
    color: #fbbf24;
}

.dark-mode.auth-forgot-page .afp-trust,
[data-theme="dark"].auth-forgot-page .afp-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-forgot-page .afp-trust-item,
[data-theme="dark"].auth-forgot-page .afp-trust-item {
    color: #64748b;
}

.dark-mode.auth-forgot-page .afp-trust-item svg,
[data-theme="dark"].auth-forgot-page .afp-trust-item svg {
    color: #f59e0b;
}

.dark-mode.auth-forgot-page .afp-trust-sep,
[data-theme="dark"].auth-forgot-page .afp-trust-sep {
    background: #475569;
}

/* Responsive: Auth Forgot */
@media (max-width: 991.98px) {
    .auth-forgot-page .afp-wrapper {
        flex-direction: column;
        max-width: 480px;
    }

    .auth-forgot-page .afp-brand {
        width: 100%;
        padding: 28px 24px;
    }

    .auth-forgot-page .afp-brand-title { font-size: 1.35rem; }
    .auth-forgot-page .afp-testimonial { display: none; }
    .auth-forgot-page .afp-form { padding: 28px 24px; }
}

@media (max-width: 575.98px) {
    .auth-forgot-page .afp-brand { padding: 22px 18px; }
    .auth-forgot-page .afp-brand-title { font-size: 1.2rem; }
    .auth-forgot-page .afp-brand-stats { gap: 10px; padding: 10px 12px; }
    .auth-forgot-page .afp-brand-stat-val { font-size: 0.88rem; }
    .auth-forgot-page .afp-features { display: none; }
    .auth-forgot-page .afp-form { padding: 22px 18px; }
    .auth-forgot-page .afp-title { font-size: 1.25rem; }
    .auth-forgot-page .afp-steps { display: none; }
}


/* ===========================================
   Page: auth-new-password (Premium New Password)
   ========================================== */

/* Wrapper - split card layout */
.auth-newpass-page .anp-wrapper {
    display: flex;
    width: 100%;
    max-width: 920px;
    min-height: 560px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.22),
        0 8px 32px rgba(168,85,247,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* Left brand panel */
.auth-newpass-page .anp-brand {
    width: 380px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #581c87 0%, #7e22ce 35%, #9333ea 65%, #a855f7 100%);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-newpass-page .anp-brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.auth-newpass-page .anp-brand-orb-1 {
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.08);
    top: -50px; right: -40px;
}

.auth-newpass-page .anp-brand-orb-2 {
    width: 120px; height: 120px;
    background: rgba(192,132,252,0.2);
    bottom: -30px; left: -20px;
}

.auth-newpass-page .anp-brand-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
}

.auth-newpass-page .anp-brand-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Brand stats */
.auth-newpass-page .anp-brand-stats {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

.auth-newpass-page .anp-brand-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-newpass-page .anp-brand-stat-lbl {
    font-size: 0.66rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1px;
}

/* Tips */
.auth-newpass-page .anp-tips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.auth-newpass-page .anp-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.auth-newpass-page .anp-tip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* Testimonial */
.auth-newpass-page .anp-testimonial {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.auth-newpass-page .anp-testimonial-quote {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    font-style: italic;
}

.auth-newpass-page .anp-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-newpass-page .anp-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.auth-newpass-page .anp-testimonial-role {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
}

/* Right form panel */
.auth-newpass-page .anp-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 40px;
}

.auth-newpass-page .anp-form-inner {
    width: 100%;
    max-width: 400px;
}

/* Icon wrap */
.auth-newpass-page .anp-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(147,51,234,0.08), rgba(168,85,247,0.12));
    border: 1px solid rgba(147,51,234,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9333ea;
}

/* Title */
.auth-newpass-page .anp-title {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #581c87, #7e22ce, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

/* Labels */
.auth-newpass-page .anp-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Custom inputs */
.auth-newpass-page .anp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-newpass-page .anp-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-newpass-page .anp-input {
    padding: 10px 44px 10px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-newpass-page .anp-input:focus {
    background: #fff !important;
    border-color: rgba(147,51,234,0.4) !important;
    box-shadow: 0 0 0 4px rgba(147,51,234,0.08) !important;
}

.auth-newpass-page .anp-input::placeholder {
    color: #94a3b8;
}

.auth-newpass-page .anp-eye-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.auth-newpass-page .anp-eye-btn:hover {
    color: #9333ea;
    background: rgba(147,51,234,0.04);
}

/* Password requirements */
.auth-newpass-page .anp-requirements {
    padding: 14px 16px;
    background: rgba(248,250,252,0.6);
    border: 1px solid rgba(226,232,240,0.5);
    border-radius: 12px;
}

.auth-newpass-page .anp-req-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.auth-newpass-page .anp-req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    padding: 3px 0;
}

.auth-newpass-page .anp-req-item.text-success svg {
    color: #16a34a;
}

/* Submit button */
.auth-newpass-page .anp-submit-btn {
    background: linear-gradient(135deg, #7e22ce, #9333ea, #a855f7) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(147,51,234,0.3);
    letter-spacing: 0.01em;
}

.auth-newpass-page .anp-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(147,51,234,0.4);
}

/* Back link */
.auth-newpass-page .anp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9333ea;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
}

.auth-newpass-page .anp-back-link:hover {
    color: #7e22ce;
    text-decoration: underline;
}

/* Trust badges */
.auth-newpass-page .anp-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-newpass-page .anp-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-newpass-page .anp-trust-item svg {
    color: #9333ea;
    opacity: 0.5;
}

.auth-newpass-page .anp-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth New Password */
.dark-mode.auth-newpass-page .anp-wrapper,
[data-theme="dark"].auth-newpass-page .anp-wrapper {
    background: rgba(30,41,59,0.92);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.dark-mode.auth-newpass-page .anp-brand,
[data-theme="dark"].auth-newpass-page .anp-brand {
    background: linear-gradient(160deg, #3b0764 0%, #581c87 35%, #6b21a8 65%, #7e22ce 100%);
}

.dark-mode.auth-newpass-page .anp-title,
[data-theme="dark"].auth-newpass-page .anp-title {
    background: linear-gradient(135deg, #d8b4fe, #c084fc, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-newpass-page .anp-icon-wrap,
[data-theme="dark"].auth-newpass-page .anp-icon-wrap {
    background: linear-gradient(135deg, rgba(147,51,234,0.12), rgba(168,85,247,0.14));
    border-color: rgba(147,51,234,0.15);
    color: #d8b4fe;
}

.dark-mode.auth-newpass-page .anp-label,
[data-theme="dark"].auth-newpass-page .anp-label {
    color: #94a3b8;
}

.dark-mode.auth-newpass-page .anp-input,
[data-theme="dark"].auth-newpass-page .anp-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-newpass-page .anp-input:focus,
[data-theme="dark"].auth-newpass-page .anp-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(147,51,234,0.3) !important;
    box-shadow: 0 0 0 4px rgba(147,51,234,0.1) !important;
}

.dark-mode.auth-newpass-page .anp-input-icon,
[data-theme="dark"].auth-newpass-page .anp-input-icon {
    color: #64748b;
}

.dark-mode.auth-newpass-page .anp-eye-btn,
[data-theme="dark"].auth-newpass-page .anp-eye-btn {
    color: #64748b;
}

.dark-mode.auth-newpass-page .anp-requirements,
[data-theme="dark"].auth-newpass-page .anp-requirements {
    background: rgba(30,41,59,0.4);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode.auth-newpass-page .anp-req-title,
[data-theme="dark"].auth-newpass-page .anp-req-title {
    color: #94a3b8;
}

.dark-mode.auth-newpass-page .anp-back-link,
[data-theme="dark"].auth-newpass-page .anp-back-link {
    color: #d8b4fe;
}

.dark-mode.auth-newpass-page .anp-trust,
[data-theme="dark"].auth-newpass-page .anp-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-newpass-page .anp-trust-item,
[data-theme="dark"].auth-newpass-page .anp-trust-item {
    color: #64748b;
}

.dark-mode.auth-newpass-page .anp-trust-item svg,
[data-theme="dark"].auth-newpass-page .anp-trust-item svg {
    color: #a855f7;
}

.dark-mode.auth-newpass-page .anp-trust-sep,
[data-theme="dark"].auth-newpass-page .anp-trust-sep {
    background: #475569;
}

/* Responsive: Auth New Password */
@media (max-width: 991.98px) {
    .auth-newpass-page .anp-wrapper {
        flex-direction: column;
        max-width: 480px;
    }

    .auth-newpass-page .anp-brand {
        width: 100%;
        padding: 28px 24px;
    }

    .auth-newpass-page .anp-brand-title { font-size: 1.35rem; }
    .auth-newpass-page .anp-testimonial { display: none; }
    .auth-newpass-page .anp-form { padding: 28px 24px; }
}

@media (max-width: 575.98px) {
    .auth-newpass-page .anp-brand { padding: 22px 18px; }
    .auth-newpass-page .anp-brand-title { font-size: 1.2rem; }
    .auth-newpass-page .anp-brand-stats { gap: 10px; padding: 10px 12px; }
    .auth-newpass-page .anp-brand-stat-val { font-size: 0.88rem; }
    .auth-newpass-page .anp-tips { display: none; }
    .auth-newpass-page .anp-form { padding: 22px 18px; }
    .auth-newpass-page .anp-title { font-size: 1.25rem; }
}


/* ===========================================
   Page: auth-login-cover (Premium Login Cover)
   ========================================== */

/* Full-screen split layout */
.auth-login-cover-page { margin: 0; padding: 0; }

.auth-login-cover-page .alc-layout {
    display: flex;
    min-height: 100vh;
}

/* Left cover panel */
.auth-login-cover-page .alc-cover {
    flex: 1;
    background: linear-gradient(160deg, #1e1b4b 0%, #312e81 25%, #4338ca 50%, #6366f1 75%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #fff;
}

/* Grid pattern overlay */
.auth-login-cover-page .alc-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative orbs */
.auth-login-cover-page .alc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.auth-login-cover-page .alc-orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 70%);
    top: -120px; right: -80px;
}

.auth-login-cover-page .alc-orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    bottom: -80px; left: -60px;
}

.auth-login-cover-page .alc-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
    top: 40%; left: 50%;
}

.auth-login-cover-page .alc-orb-4 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 20%; right: 30%;
}

.auth-login-cover-page .alc-cover-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

/* Cover badge */
.auth-login-cover-page .alc-cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.auth-login-cover-page .alc-cover-badge svg { fill: #fbbf24; color: #fbbf24; }

/* Cover heading */
.auth-login-cover-page .alc-cover-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-login-cover-page .alc-cover-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 0;
}

/* Stats row */
.auth-login-cover-page .alc-stats-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-login-cover-page .alc-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    flex: 1;
}

.auth-login-cover-page .alc-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.auth-login-cover-page .alc-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-login-cover-page .alc-stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
}

/* Feature pills */
.auth-login-cover-page .alc-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.auth-login-cover-page .alc-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
}

/* Testimonials */
.auth-login-cover-page .alc-testimonials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-login-cover-page .alc-testimonial-card {
    flex: 1;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.auth-login-cover-page .alc-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    color: #fbbf24;
}

.auth-login-cover-page .alc-testimonial-stars svg { fill: #fbbf24; }

.auth-login-cover-page .alc-testimonial-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 10px;
}

.auth-login-cover-page .alc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-login-cover-page .alc-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-login-cover-page .alc-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.auth-login-cover-page .alc-testimonial-role {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

/* Brand logos row */
.auth-login-cover-page .alc-brands {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-login-cover-page .alc-brands-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}

.auth-login-cover-page .alc-brands-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-login-cover-page .alc-brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.02em;
}

.auth-login-cover-page .alc-brand-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

/* Right form panel */
.auth-login-cover-page .alc-form-panel {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #fff;
}

.auth-login-cover-page .alc-form-inner {
    width: 100%;
    max-width: 380px;
}

/* Form icon */
.auth-login-cover-page .alc-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.1));
    border: 1px solid rgba(99,102,241,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
}

/* Form title */
.auth-login-cover-page .alc-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #312e81, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.auth-login-cover-page .alc-form-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Labels */
.auth-login-cover-page .alc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Inputs */
.auth-login-cover-page .alc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-login-cover-page .alc-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-login-cover-page .alc-input {
    padding: 11px 14px 11px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-login-cover-page .alc-input:focus {
    background: #fff !important;
    border-color: rgba(99,102,241,0.4) !important;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.08) !important;
}

.auth-login-cover-page .alc-input::placeholder { color: #94a3b8; }

.auth-login-cover-page .alc-eye-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.auth-login-cover-page .alc-eye-btn:hover {
    color: #6366f1;
    background: rgba(99,102,241,0.04);
}

/* Forgot link */
.auth-login-cover-page .alc-forgot-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
}

.auth-login-cover-page .alc-forgot-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Submit button */
.auth-login-cover-page .alc-submit-btn {
    background: linear-gradient(135deg, #4338ca, #6366f1, #7c3aed) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

.auth-login-cover-page .alc-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}

/* Divider */
.auth-login-cover-page .alc-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 12px;
}

.auth-login-cover-page .alc-divider::before,
.auth-login-cover-page .alc-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.auth-login-cover-page .alc-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Social buttons */
.auth-login-cover-page .alc-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 10px !important;
    background: rgba(248,250,252,0.6) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.auth-login-cover-page .alc-social-btn:hover {
    border-color: rgba(99,102,241,0.25) !important;
    background: rgba(99,102,241,0.03) !important;
    color: #4338ca !important;
}

/* Register link */
.auth-login-cover-page .alc-register-link {
    color: #6366f1;
    font-weight: 700;
    text-decoration: none;
}

.auth-login-cover-page .alc-register-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Trust row */
.auth-login-cover-page .alc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-login-cover-page .alc-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-login-cover-page .alc-trust-item svg {
    color: #6366f1;
    opacity: 0.5;
}

.auth-login-cover-page .alc-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth Login Cover */
.dark-mode.auth-login-cover-page .alc-cover,
[data-theme="dark"].auth-login-cover-page .alc-cover {
    background: linear-gradient(160deg, #0c0a1f 0%, #1e1b4b 25%, #272366 50%, #312e81 75%, #3730a3 100%);
}

.dark-mode.auth-login-cover-page .alc-form-panel,
[data-theme="dark"].auth-login-cover-page .alc-form-panel {
    background: #0f172a;
}

.dark-mode.auth-login-cover-page .alc-form-title,
[data-theme="dark"].auth-login-cover-page .alc-form-title {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-login-cover-page .alc-form-subtitle,
[data-theme="dark"].auth-login-cover-page .alc-form-subtitle {
    color: #64748b;
}

.dark-mode.auth-login-cover-page .alc-form-icon,
[data-theme="dark"].auth-login-cover-page .alc-form-icon {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.14));
    border-color: rgba(99,102,241,0.15);
    color: #a5b4fc;
}

.dark-mode.auth-login-cover-page .alc-label,
[data-theme="dark"].auth-login-cover-page .alc-label {
    color: #94a3b8;
}

.dark-mode.auth-login-cover-page .alc-input,
[data-theme="dark"].auth-login-cover-page .alc-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-login-cover-page .alc-input:focus,
[data-theme="dark"].auth-login-cover-page .alc-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(99,102,241,0.3) !important;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1) !important;
}

.dark-mode.auth-login-cover-page .alc-input-icon,
[data-theme="dark"].auth-login-cover-page .alc-input-icon {
    color: #64748b;
}

.dark-mode.auth-login-cover-page .alc-eye-btn,
[data-theme="dark"].auth-login-cover-page .alc-eye-btn {
    color: #64748b;
}

.dark-mode.auth-login-cover-page .alc-social-btn,
[data-theme="dark"].auth-login-cover-page .alc-social-btn {
    background: rgba(30,41,59,0.4) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #94a3b8 !important;
}

.dark-mode.auth-login-cover-page .alc-social-btn:hover,
[data-theme="dark"].auth-login-cover-page .alc-social-btn:hover {
    border-color: rgba(99,102,241,0.2) !important;
    background: rgba(99,102,241,0.06) !important;
    color: #a5b4fc !important;
}

.dark-mode.auth-login-cover-page .alc-divider::before,
.dark-mode.auth-login-cover-page .alc-divider::after,
[data-theme="dark"].auth-login-cover-page .alc-divider::before,
[data-theme="dark"].auth-login-cover-page .alc-divider::after {
    background: rgba(255,255,255,0.06);
}

.dark-mode.auth-login-cover-page .alc-trust,
[data-theme="dark"].auth-login-cover-page .alc-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-login-cover-page .alc-trust-item,
[data-theme="dark"].auth-login-cover-page .alc-trust-item {
    color: #64748b;
}

.dark-mode.auth-login-cover-page .alc-trust-item svg,
[data-theme="dark"].auth-login-cover-page .alc-trust-item svg {
    color: #818cf8;
}

.dark-mode.auth-login-cover-page .alc-trust-sep,
[data-theme="dark"].auth-login-cover-page .alc-trust-sep {
    background: #475569;
}

/* Responsive: Auth Login Cover */
@media (max-width: 1199.98px) {
    .auth-login-cover-page .alc-cover { padding: 36px; }
    .auth-login-cover-page .alc-cover-heading { font-size: 2.2rem; }
    .auth-login-cover-page .alc-testimonials { flex-direction: column; }
    .auth-login-cover-page .alc-form-panel { width: 460px; padding: 36px; }
}

@media (max-width: 991.98px) {
    .auth-login-cover-page .alc-layout { flex-direction: column; }
    .auth-login-cover-page .alc-cover { padding: 36px 28px; }
    .auth-login-cover-page .alc-cover-heading { font-size: 1.8rem; }
    .auth-login-cover-page .alc-testimonials { display: none; }
    .auth-login-cover-page .alc-brands { display: none; }
    .auth-login-cover-page .alc-form-panel {
        width: 100%;
        padding: 36px 28px;
    }
}

@media (max-width: 575.98px) {
    .auth-login-cover-page .alc-cover { padding: 28px 20px; }
    .auth-login-cover-page .alc-cover-heading { font-size: 1.5rem; }
    .auth-login-cover-page .alc-stats-row { flex-direction: column; gap: 8px; }
    .auth-login-cover-page .alc-feature-pills { display: none; }
    .auth-login-cover-page .alc-form-panel { padding: 28px 20px; }
    .auth-login-cover-page .alc-form-title { font-size: 1.3rem; }
    .auth-login-cover-page .alc-social-btn { font-size: 0.72rem !important; padding: 8px !important; }
}


/* ===========================================
   Page: auth-register-cover (Premium Register Cover)
   ========================================== */

/* Full-screen split layout */
.auth-register-cover-page { margin: 0; padding: 0; }

.auth-register-cover-page .arc-layout {
    display: flex;
    min-height: 100vh;
}

/* Left cover panel */
.auth-register-cover-page .arc-cover {
    flex: 1;
    background: linear-gradient(160deg, #042f2e 0%, #0f766e 25%, #0d9488 50%, #14b8a6 75%, #2dd4bf 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #fff;
}

/* Grid pattern overlay */
.auth-register-cover-page .arc-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative orbs */
.auth-register-cover-page .arc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.auth-register-cover-page .arc-orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, transparent 70%);
    top: -120px; right: -80px;
}

.auth-register-cover-page .arc-orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(20,184,166,0.2) 0%, transparent 70%);
    bottom: -80px; left: -60px;
}

.auth-register-cover-page .arc-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(45,212,191,0.15) 0%, transparent 70%);
    top: 40%; left: 50%;
}

.auth-register-cover-page .arc-orb-4 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 20%; right: 30%;
}

.auth-register-cover-page .arc-cover-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

/* Cover badge */
.auth-register-cover-page .arc-cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.auth-register-cover-page .arc-cover-badge svg { color: #a7f3d0; }

/* Cover heading */
.auth-register-cover-page .arc-cover-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-register-cover-page .arc-cover-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 0;
}

/* Stats row */
.auth-register-cover-page .arc-stats-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-register-cover-page .arc-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    flex: 1;
}

.auth-register-cover-page .arc-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.auth-register-cover-page .arc-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-register-cover-page .arc-stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
}

/* Checklist */
.auth-register-cover-page .arc-checklist {
    margin-top: 24px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.auth-register-cover-page .arc-checklist-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
}

.auth-register-cover-page .arc-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}

.auth-register-cover-page .arc-check-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.auth-register-cover-page .arc-check-item svg {
    color: #a7f3d0;
    flex-shrink: 0;
}

/* Testimonials */
.auth-register-cover-page .arc-testimonials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-register-cover-page .arc-testimonial-card {
    flex: 1;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.auth-register-cover-page .arc-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    color: #fbbf24;
}

.auth-register-cover-page .arc-testimonial-stars svg { fill: #fbbf24; }

.auth-register-cover-page .arc-testimonial-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 10px;
}

.auth-register-cover-page .arc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-register-cover-page .arc-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-register-cover-page .arc-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.auth-register-cover-page .arc-testimonial-role {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

/* Brand logos row */
.auth-register-cover-page .arc-brands {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-register-cover-page .arc-brands-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}

.auth-register-cover-page .arc-brands-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-register-cover-page .arc-brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.02em;
}

.auth-register-cover-page .arc-brand-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

/* Right form panel */
.auth-register-cover-page .arc-form-panel {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
    background: #fff;
    overflow-y: auto;
}

.auth-register-cover-page .arc-form-inner {
    width: 100%;
    max-width: 400px;
}

/* Form icon */
.auth-register-cover-page .arc-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(13,148,136,0.12));
    border: 1px solid rgba(20,184,166,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
}

/* Form title */
.auth-register-cover-page .arc-form-title {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e, #0d9488, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.auth-register-cover-page .arc-form-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Labels */
.auth-register-cover-page .arc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Inputs */
.auth-register-cover-page .arc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-register-cover-page .arc-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-register-cover-page .arc-input {
    padding: 10px 14px 10px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-register-cover-page .arc-input:focus {
    background: #fff !important;
    border-color: rgba(20,184,166,0.4) !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.08) !important;
}

.auth-register-cover-page .arc-input::placeholder { color: #94a3b8; }

.auth-register-cover-page .arc-eye-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.auth-register-cover-page .arc-eye-btn:hover {
    color: #0d9488;
    background: rgba(20,184,166,0.04);
}

/* Terms */
.auth-register-cover-page .arc-terms-label {
    font-size: 0.82rem;
    color: #64748b;
}

.auth-register-cover-page .arc-terms-link {
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
}

.auth-register-cover-page .arc-terms-link:hover {
    color: #0f766e;
    text-decoration: underline;
}

.auth-register-cover-page .form-check-input:checked {
    background-color: #0d9488;
    border-color: #0d9488;
}

/* Submit button */
.auth-register-cover-page .arc-submit-btn {
    background: linear-gradient(135deg, #0f766e, #0d9488, #14b8a6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}

.auth-register-cover-page .arc-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(13,148,136,0.4);
}

/* Divider */
.auth-register-cover-page .arc-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    gap: 12px;
}

.auth-register-cover-page .arc-divider::before,
.auth-register-cover-page .arc-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.auth-register-cover-page .arc-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Social buttons */
.auth-register-cover-page .arc-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 10px !important;
    background: rgba(248,250,252,0.6) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.auth-register-cover-page .arc-social-btn:hover {
    border-color: rgba(20,184,166,0.25) !important;
    background: rgba(20,184,166,0.03) !important;
    color: #0f766e !important;
}

/* Login link */
.auth-register-cover-page .arc-login-link {
    color: #0d9488;
    font-weight: 700;
    text-decoration: none;
}

.auth-register-cover-page .arc-login-link:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Trust row */
.auth-register-cover-page .arc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-register-cover-page .arc-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-register-cover-page .arc-trust-item svg {
    color: #0d9488;
    opacity: 0.5;
}

.auth-register-cover-page .arc-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth Register Cover */
.dark-mode.auth-register-cover-page .arc-cover,
[data-theme="dark"].auth-register-cover-page .arc-cover {
    background: linear-gradient(160deg, #022c22 0%, #064e3b 25%, #065f46 50%, #047857 75%, #059669 100%);
}

.dark-mode.auth-register-cover-page .arc-form-panel,
[data-theme="dark"].auth-register-cover-page .arc-form-panel {
    background: #0f172a;
}

.dark-mode.auth-register-cover-page .arc-form-title,
[data-theme="dark"].auth-register-cover-page .arc-form-title {
    background: linear-gradient(135deg, #5eead4, #99f6e4, #ccfbf1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-register-cover-page .arc-form-subtitle,
[data-theme="dark"].auth-register-cover-page .arc-form-subtitle {
    color: #64748b;
}

.dark-mode.auth-register-cover-page .arc-form-icon,
[data-theme="dark"].auth-register-cover-page .arc-form-icon {
    background: linear-gradient(135deg, rgba(20,184,166,0.12), rgba(13,148,136,0.14));
    border-color: rgba(20,184,166,0.15);
    color: #5eead4;
}

.dark-mode.auth-register-cover-page .arc-label,
[data-theme="dark"].auth-register-cover-page .arc-label {
    color: #94a3b8;
}

.dark-mode.auth-register-cover-page .arc-input,
[data-theme="dark"].auth-register-cover-page .arc-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-register-cover-page .arc-input:focus,
[data-theme="dark"].auth-register-cover-page .arc-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(20,184,166,0.3) !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.1) !important;
}

.dark-mode.auth-register-cover-page .arc-input-icon,
[data-theme="dark"].auth-register-cover-page .arc-input-icon {
    color: #64748b;
}

.dark-mode.auth-register-cover-page .arc-eye-btn,
[data-theme="dark"].auth-register-cover-page .arc-eye-btn {
    color: #64748b;
}

.dark-mode.auth-register-cover-page .arc-terms-label,
[data-theme="dark"].auth-register-cover-page .arc-terms-label {
    color: #94a3b8;
}

.dark-mode.auth-register-cover-page .arc-terms-link,
[data-theme="dark"].auth-register-cover-page .arc-terms-link {
    color: #5eead4;
}

.dark-mode.auth-register-cover-page .arc-social-btn,
[data-theme="dark"].auth-register-cover-page .arc-social-btn {
    background: rgba(30,41,59,0.4) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #94a3b8 !important;
}

.dark-mode.auth-register-cover-page .arc-social-btn:hover,
[data-theme="dark"].auth-register-cover-page .arc-social-btn:hover {
    border-color: rgba(20,184,166,0.2) !important;
    background: rgba(20,184,166,0.06) !important;
    color: #5eead4 !important;
}

.dark-mode.auth-register-cover-page .arc-login-link,
[data-theme="dark"].auth-register-cover-page .arc-login-link {
    color: #5eead4;
}

.dark-mode.auth-register-cover-page .arc-divider::before,
.dark-mode.auth-register-cover-page .arc-divider::after,
[data-theme="dark"].auth-register-cover-page .arc-divider::before,
[data-theme="dark"].auth-register-cover-page .arc-divider::after {
    background: rgba(255,255,255,0.06);
}

.dark-mode.auth-register-cover-page .arc-trust,
[data-theme="dark"].auth-register-cover-page .arc-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-register-cover-page .arc-trust-item,
[data-theme="dark"].auth-register-cover-page .arc-trust-item {
    color: #64748b;
}

.dark-mode.auth-register-cover-page .arc-trust-item svg,
[data-theme="dark"].auth-register-cover-page .arc-trust-item svg {
    color: #2dd4bf;
}

.dark-mode.auth-register-cover-page .arc-trust-sep,
[data-theme="dark"].auth-register-cover-page .arc-trust-sep {
    background: #475569;
}

/* Responsive: Auth Register Cover */
@media (max-width: 1199.98px) {
    .auth-register-cover-page .arc-cover { padding: 36px; }
    .auth-register-cover-page .arc-cover-heading { font-size: 2.2rem; }
    .auth-register-cover-page .arc-testimonials { flex-direction: column; }
    .auth-register-cover-page .arc-form-panel { width: 460px; padding: 36px; }
}

@media (max-width: 991.98px) {
    .auth-register-cover-page .arc-layout { flex-direction: column; }
    .auth-register-cover-page .arc-cover { padding: 36px 28px; }
    .auth-register-cover-page .arc-cover-heading { font-size: 1.8rem; }
    .auth-register-cover-page .arc-testimonials { display: none; }
    .auth-register-cover-page .arc-brands { display: none; }
    .auth-register-cover-page .arc-form-panel {
        width: 100%;
        padding: 36px 28px;
    }
}

@media (max-width: 575.98px) {
    .auth-register-cover-page .arc-cover { padding: 28px 20px; }
    .auth-register-cover-page .arc-cover-heading { font-size: 1.5rem; }
    .auth-register-cover-page .arc-stats-row { flex-direction: column; gap: 8px; }
    .auth-register-cover-page .arc-checklist { display: none; }
    .auth-register-cover-page .arc-form-panel { padding: 28px 20px; }
    .auth-register-cover-page .arc-form-title { font-size: 1.25rem; }
    .auth-register-cover-page .arc-social-btn { font-size: 0.72rem !important; padding: 8px !important; }
}


/* ===========================================
   Page: auth-forgot-cover (Premium Forgot Cover)
   ========================================== */

/* Full-screen split layout */
.auth-forgot-cover-page { margin: 0; padding: 0; }

.auth-forgot-cover-page .afc-layout {
    display: flex;
    min-height: 100vh;
}

/* Left cover panel */
.auth-forgot-cover-page .afc-cover {
    flex: 1;
    background: linear-gradient(160deg, #451a03 0%, #78350f 20%, #92400e 40%, #b45309 60%, #d97706 80%, #f59e0b 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #fff;
}

/* Grid pattern overlay */
.auth-forgot-cover-page .afc-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative orbs */
.auth-forgot-cover-page .afc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.auth-forgot-cover-page .afc-orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(251,191,36,0.25) 0%, transparent 70%);
    top: -120px; right: -80px;
}

.auth-forgot-cover-page .afc-orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
    bottom: -80px; left: -60px;
}

.auth-forgot-cover-page .afc-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(252,211,77,0.15) 0%, transparent 70%);
    top: 40%; left: 50%;
}

.auth-forgot-cover-page .afc-orb-4 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 20%; right: 30%;
}

.auth-forgot-cover-page .afc-cover-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

/* Cover badge */
.auth-forgot-cover-page .afc-cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.auth-forgot-cover-page .afc-cover-badge svg { color: #fef3c7; }

/* Cover heading */
.auth-forgot-cover-page .afc-cover-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-forgot-cover-page .afc-cover-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 0;
}

/* Stats row */
.auth-forgot-cover-page .afc-stats-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-forgot-cover-page .afc-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    flex: 1;
}

.auth-forgot-cover-page .afc-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.auth-forgot-cover-page .afc-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-forgot-cover-page .afc-stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
}

/* Feature cards */
.auth-forgot-cover-page .afc-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.auth-forgot-cover-page .afc-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.auth-forgot-cover-page .afc-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.auth-forgot-cover-page .afc-feature-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}

.auth-forgot-cover-page .afc-feature-desc {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
    margin-top: 1px;
}

/* Testimonials */
.auth-forgot-cover-page .afc-testimonials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-forgot-cover-page .afc-testimonial-card {
    flex: 1;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.auth-forgot-cover-page .afc-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    color: #fde68a;
}

.auth-forgot-cover-page .afc-testimonial-stars svg { fill: #fde68a; }

.auth-forgot-cover-page .afc-testimonial-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 10px;
}

.auth-forgot-cover-page .afc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-forgot-cover-page .afc-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-forgot-cover-page .afc-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.auth-forgot-cover-page .afc-testimonial-role {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

/* Brand logos row */
.auth-forgot-cover-page .afc-brands {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-forgot-cover-page .afc-brands-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}

.auth-forgot-cover-page .afc-brands-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-forgot-cover-page .afc-brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.02em;
}

.auth-forgot-cover-page .afc-brand-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

/* Right form panel */
.auth-forgot-cover-page .afc-form-panel {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #fff;
}

.auth-forgot-cover-page .afc-form-inner {
    width: 100%;
    max-width: 380px;
}

/* Form icon */
.auth-forgot-cover-page .afc-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(217,119,6,0.12));
    border: 1px solid rgba(245,158,11,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}

/* Form title */
.auth-forgot-cover-page .afc-form-title {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #92400e, #b45309, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.auth-forgot-cover-page .afc-form-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Labels */
.auth-forgot-cover-page .afc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Inputs */
.auth-forgot-cover-page .afc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-forgot-cover-page .afc-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-forgot-cover-page .afc-input {
    padding: 11px 14px 11px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-forgot-cover-page .afc-input:focus {
    background: #fff !important;
    border-color: rgba(245,158,11,0.4) !important;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.08) !important;
}

.auth-forgot-cover-page .afc-input::placeholder { color: #94a3b8; }

/* Submit button */
.auth-forgot-cover-page .afc-submit-btn {
    background: linear-gradient(135deg, #b45309, #d97706, #f59e0b) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(217,119,6,0.3);
}

.auth-forgot-cover-page .afc-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(217,119,6,0.4);
}

/* Info note */
.auth-forgot-cover-page .afc-info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(245,158,11,0.04);
    border: 1px solid rgba(245,158,11,0.1);
    border-radius: 10px;
    font-size: 0.78rem;
    color: #92400e;
    line-height: 1.4;
}

.auth-forgot-cover-page .afc-info-note svg {
    color: #d97706;
    margin-top: 1px;
}

/* How it works steps */
.auth-forgot-cover-page .afc-steps {
    margin-top: 20px;
    padding: 16px;
    background: rgba(248,250,252,0.6);
    border: 1px solid rgba(226,232,240,0.5);
    border-radius: 12px;
}

.auth-forgot-cover-page .afc-steps-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 12px;
}

.auth-forgot-cover-page .afc-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}

.auth-forgot-cover-page .afc-step + .afc-step {
    border-top: 1px solid rgba(226,232,240,0.4);
}

.auth-forgot-cover-page .afc-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.15));
    border: 1px solid rgba(245,158,11,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-forgot-cover-page .afc-step-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

.auth-forgot-cover-page .afc-step-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* Back link */
.auth-forgot-cover-page .afc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #d97706;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
}

.auth-forgot-cover-page .afc-back-link:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Trust row */
.auth-forgot-cover-page .afc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-forgot-cover-page .afc-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-forgot-cover-page .afc-trust-item svg {
    color: #d97706;
    opacity: 0.5;
}

.auth-forgot-cover-page .afc-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth Forgot Cover */
.dark-mode.auth-forgot-cover-page .afc-cover,
[data-theme="dark"].auth-forgot-cover-page .afc-cover {
    background: linear-gradient(160deg, #1c0a00 0%, #451a03 20%, #78350f 45%, #92400e 70%, #b45309 100%);
}

.dark-mode.auth-forgot-cover-page .afc-form-panel,
[data-theme="dark"].auth-forgot-cover-page .afc-form-panel {
    background: #0f172a;
}

.dark-mode.auth-forgot-cover-page .afc-form-title,
[data-theme="dark"].auth-forgot-cover-page .afc-form-title {
    background: linear-gradient(135deg, #fde68a, #fcd34d, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-forgot-cover-page .afc-form-subtitle,
[data-theme="dark"].auth-forgot-cover-page .afc-form-subtitle {
    color: #64748b;
}

.dark-mode.auth-forgot-cover-page .afc-form-icon,
[data-theme="dark"].auth-forgot-cover-page .afc-form-icon {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(217,119,6,0.14));
    border-color: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.dark-mode.auth-forgot-cover-page .afc-label,
[data-theme="dark"].auth-forgot-cover-page .afc-label {
    color: #94a3b8;
}

.dark-mode.auth-forgot-cover-page .afc-input,
[data-theme="dark"].auth-forgot-cover-page .afc-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-forgot-cover-page .afc-input:focus,
[data-theme="dark"].auth-forgot-cover-page .afc-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(245,158,11,0.3) !important;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.1) !important;
}

.dark-mode.auth-forgot-cover-page .afc-input-icon,
[data-theme="dark"].auth-forgot-cover-page .afc-input-icon {
    color: #64748b;
}

.dark-mode.auth-forgot-cover-page .afc-info-note,
[data-theme="dark"].auth-forgot-cover-page .afc-info-note {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.1);
    color: #fbbf24;
}

.dark-mode.auth-forgot-cover-page .afc-info-note svg,
[data-theme="dark"].auth-forgot-cover-page .afc-info-note svg {
    color: #fbbf24;
}

.dark-mode.auth-forgot-cover-page .afc-steps,
[data-theme="dark"].auth-forgot-cover-page .afc-steps {
    background: rgba(30,41,59,0.4);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode.auth-forgot-cover-page .afc-steps-title,
[data-theme="dark"].auth-forgot-cover-page .afc-steps-title {
    color: #64748b;
}

.dark-mode.auth-forgot-cover-page .afc-step + .afc-step,
[data-theme="dark"].auth-forgot-cover-page .afc-step + .afc-step {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-forgot-cover-page .afc-step-num,
[data-theme="dark"].auth-forgot-cover-page .afc-step-num {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(217,119,6,0.16));
    border-color: rgba(245,158,11,0.15);
    color: #fbbf24;
}

.dark-mode.auth-forgot-cover-page .afc-step-heading,
[data-theme="dark"].auth-forgot-cover-page .afc-step-heading {
    color: #e2e8f0;
}

.dark-mode.auth-forgot-cover-page .afc-step-desc,
[data-theme="dark"].auth-forgot-cover-page .afc-step-desc {
    color: #64748b;
}

.dark-mode.auth-forgot-cover-page .afc-back-link,
[data-theme="dark"].auth-forgot-cover-page .afc-back-link {
    color: #fbbf24;
}

.dark-mode.auth-forgot-cover-page .afc-trust,
[data-theme="dark"].auth-forgot-cover-page .afc-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-forgot-cover-page .afc-trust-item,
[data-theme="dark"].auth-forgot-cover-page .afc-trust-item {
    color: #64748b;
}

.dark-mode.auth-forgot-cover-page .afc-trust-item svg,
[data-theme="dark"].auth-forgot-cover-page .afc-trust-item svg {
    color: #f59e0b;
}

.dark-mode.auth-forgot-cover-page .afc-trust-sep,
[data-theme="dark"].auth-forgot-cover-page .afc-trust-sep {
    background: #475569;
}

/* Responsive: Auth Forgot Cover */
@media (max-width: 1199.98px) {
    .auth-forgot-cover-page .afc-cover { padding: 36px; }
    .auth-forgot-cover-page .afc-cover-heading { font-size: 2.2rem; }
    .auth-forgot-cover-page .afc-testimonials { flex-direction: column; }
    .auth-forgot-cover-page .afc-form-panel { width: 460px; padding: 36px; }
}

@media (max-width: 991.98px) {
    .auth-forgot-cover-page .afc-layout { flex-direction: column; }
    .auth-forgot-cover-page .afc-cover { padding: 36px 28px; }
    .auth-forgot-cover-page .afc-cover-heading { font-size: 1.8rem; }
    .auth-forgot-cover-page .afc-testimonials { display: none; }
    .auth-forgot-cover-page .afc-brands { display: none; }
    .auth-forgot-cover-page .afc-form-panel {
        width: 100%;
        padding: 36px 28px;
    }
}

@media (max-width: 575.98px) {
    .auth-forgot-cover-page .afc-cover { padding: 28px 20px; }
    .auth-forgot-cover-page .afc-cover-heading { font-size: 1.5rem; }
    .auth-forgot-cover-page .afc-stats-row { flex-direction: column; gap: 8px; }
    .auth-forgot-cover-page .afc-feature-cards { display: none; }
    .auth-forgot-cover-page .afc-form-panel { padding: 28px 20px; }
    .auth-forgot-cover-page .afc-form-title { font-size: 1.25rem; }
    .auth-forgot-cover-page .afc-steps { display: none; }
}


/* ===========================================
   Page: auth-new-password-cover (Premium)
   ========================================== */

/* Full-screen split layout */
.auth-newpass-cover-page { margin: 0; padding: 0; }

.auth-newpass-cover-page .anc-layout {
    display: flex;
    min-height: 100vh;
}

/* Left cover panel */
.auth-newpass-cover-page .anc-cover {
    flex: 1;
    background: linear-gradient(160deg, #3b0764 0%, #581c87 20%, #7e22ce 45%, #9333ea 70%, #a855f7 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #fff;
}

/* Grid pattern overlay */
.auth-newpass-cover-page .anc-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative orbs */
.auth-newpass-cover-page .anc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.auth-newpass-cover-page .anc-orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(192,132,252,0.25) 0%, transparent 70%);
    top: -120px; right: -80px;
}

.auth-newpass-cover-page .anc-orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(147,51,234,0.2) 0%, transparent 70%);
    bottom: -80px; left: -60px;
}

.auth-newpass-cover-page .anc-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
    top: 40%; left: 50%;
}

.auth-newpass-cover-page .anc-orb-4 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 20%; right: 30%;
}

.auth-newpass-cover-page .anc-cover-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

/* Cover badge */
.auth-newpass-cover-page .anc-cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.auth-newpass-cover-page .anc-cover-badge svg { color: #e9d5ff; }

/* Cover heading */
.auth-newpass-cover-page .anc-cover-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-newpass-cover-page .anc-cover-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 0;
}

/* Stats row */
.auth-newpass-cover-page .anc-stats-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-newpass-cover-page .anc-stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    flex: 1;
}

.auth-newpass-cover-page .anc-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.auth-newpass-cover-page .anc-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.auth-newpass-cover-page .anc-stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
}

/* Feature cards */
.auth-newpass-cover-page .anc-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.auth-newpass-cover-page .anc-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.auth-newpass-cover-page .anc-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.auth-newpass-cover-page .anc-feature-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}

.auth-newpass-cover-page .anc-feature-desc {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
    margin-top: 1px;
}

/* Testimonials */
.auth-newpass-cover-page .anc-testimonials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-newpass-cover-page .anc-testimonial-card {
    flex: 1;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.auth-newpass-cover-page .anc-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    color: #fbbf24;
}

.auth-newpass-cover-page .anc-testimonial-stars svg { fill: #fbbf24; }

.auth-newpass-cover-page .anc-testimonial-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 10px;
}

.auth-newpass-cover-page .anc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-newpass-cover-page .anc-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.auth-newpass-cover-page .anc-testimonial-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.auth-newpass-cover-page .anc-testimonial-role {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

/* Brand logos row */
.auth-newpass-cover-page .anc-brands {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-newpass-cover-page .anc-brands-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}

.auth-newpass-cover-page .anc-brands-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-newpass-cover-page .anc-brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.02em;
}

.auth-newpass-cover-page .anc-brand-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

/* Right form panel */
.auth-newpass-cover-page .anc-form-panel {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
    background: #fff;
    overflow-y: auto;
}

.auth-newpass-cover-page .anc-form-inner {
    width: 100%;
    max-width: 400px;
}

/* Form icon */
.auth-newpass-cover-page .anc-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(147,51,234,0.08), rgba(168,85,247,0.12));
    border: 1px solid rgba(147,51,234,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9333ea;
}

/* Form title */
.auth-newpass-cover-page .anc-form-title {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #581c87, #7e22ce, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.auth-newpass-cover-page .anc-form-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Labels */
.auth-newpass-cover-page .anc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Inputs */
.auth-newpass-cover-page .anc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-newpass-cover-page .anc-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.auth-newpass-cover-page .anc-input {
    padding: 10px 44px 10px 42px !important;
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px solid rgba(226,232,240,0.7) !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
    color: #1e293b !important;
    height: auto !important;
}

.auth-newpass-cover-page .anc-input:focus {
    background: #fff !important;
    border-color: rgba(147,51,234,0.4) !important;
    box-shadow: 0 0 0 4px rgba(147,51,234,0.08) !important;
}

.auth-newpass-cover-page .anc-input::placeholder { color: #94a3b8; }

.auth-newpass-cover-page .anc-eye-btn {
    position: absolute;
    right: 4px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.auth-newpass-cover-page .anc-eye-btn:hover {
    color: #9333ea;
    background: rgba(147,51,234,0.04);
}

/* Password requirements */
.auth-newpass-cover-page .anc-requirements {
    padding: 14px 16px;
    background: rgba(248,250,252,0.6);
    border: 1px solid rgba(226,232,240,0.5);
    border-radius: 12px;
}

.auth-newpass-cover-page .anc-req-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.auth-newpass-cover-page .anc-req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    padding: 3px 0;
}

.auth-newpass-cover-page .anc-req-item.text-success svg {
    color: #16a34a;
}

/* Submit button */
.auth-newpass-cover-page .anc-submit-btn {
    background: linear-gradient(135deg, #7e22ce, #9333ea, #a855f7) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(147,51,234,0.3);
}

.auth-newpass-cover-page .anc-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(147,51,234,0.4);
}

/* Back link */
.auth-newpass-cover-page .anc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9333ea;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
}

.auth-newpass-cover-page .anc-back-link:hover {
    color: #7e22ce;
    text-decoration: underline;
}

/* Trust row */
.auth-newpass-cover-page .anc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.auth-newpass-cover-page .anc-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.auth-newpass-cover-page .anc-trust-item svg {
    color: #9333ea;
    opacity: 0.5;
}

.auth-newpass-cover-page .anc-trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Dark Mode: Auth New Password Cover */
.dark-mode.auth-newpass-cover-page .anc-cover,
[data-theme="dark"].auth-newpass-cover-page .anc-cover {
    background: linear-gradient(160deg, #1a0533 0%, #3b0764 20%, #4c1d95 45%, #581c87 70%, #6b21a8 100%);
}

.dark-mode.auth-newpass-cover-page .anc-form-panel,
[data-theme="dark"].auth-newpass-cover-page .anc-form-panel {
    background: #0f172a;
}

.dark-mode.auth-newpass-cover-page .anc-form-title,
[data-theme="dark"].auth-newpass-cover-page .anc-form-title {
    background: linear-gradient(135deg, #d8b4fe, #c084fc, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.auth-newpass-cover-page .anc-form-subtitle,
[data-theme="dark"].auth-newpass-cover-page .anc-form-subtitle {
    color: #64748b;
}

.dark-mode.auth-newpass-cover-page .anc-form-icon,
[data-theme="dark"].auth-newpass-cover-page .anc-form-icon {
    background: linear-gradient(135deg, rgba(147,51,234,0.12), rgba(168,85,247,0.14));
    border-color: rgba(147,51,234,0.15);
    color: #d8b4fe;
}

.dark-mode.auth-newpass-cover-page .anc-label,
[data-theme="dark"].auth-newpass-cover-page .anc-label {
    color: #94a3b8;
}

.dark-mode.auth-newpass-cover-page .anc-input,
[data-theme="dark"].auth-newpass-cover-page .anc-input {
    background: rgba(30,41,59,0.5) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e2e8f0 !important;
}

.dark-mode.auth-newpass-cover-page .anc-input:focus,
[data-theme="dark"].auth-newpass-cover-page .anc-input:focus {
    background: rgba(30,41,59,0.8) !important;
    border-color: rgba(147,51,234,0.3) !important;
    box-shadow: 0 0 0 4px rgba(147,51,234,0.1) !important;
}

.dark-mode.auth-newpass-cover-page .anc-input-icon,
[data-theme="dark"].auth-newpass-cover-page .anc-input-icon {
    color: #64748b;
}

.dark-mode.auth-newpass-cover-page .anc-eye-btn,
[data-theme="dark"].auth-newpass-cover-page .anc-eye-btn {
    color: #64748b;
}

.dark-mode.auth-newpass-cover-page .anc-requirements,
[data-theme="dark"].auth-newpass-cover-page .anc-requirements {
    background: rgba(30,41,59,0.4);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode.auth-newpass-cover-page .anc-req-title,
[data-theme="dark"].auth-newpass-cover-page .anc-req-title {
    color: #94a3b8;
}

.dark-mode.auth-newpass-cover-page .anc-back-link,
[data-theme="dark"].auth-newpass-cover-page .anc-back-link {
    color: #d8b4fe;
}

.dark-mode.auth-newpass-cover-page .anc-trust,
[data-theme="dark"].auth-newpass-cover-page .anc-trust {
    border-top-color: rgba(255,255,255,0.04);
}

.dark-mode.auth-newpass-cover-page .anc-trust-item,
[data-theme="dark"].auth-newpass-cover-page .anc-trust-item {
    color: #64748b;
}

.dark-mode.auth-newpass-cover-page .anc-trust-item svg,
[data-theme="dark"].auth-newpass-cover-page .anc-trust-item svg {
    color: #a855f7;
}

.dark-mode.auth-newpass-cover-page .anc-trust-sep,
[data-theme="dark"].auth-newpass-cover-page .anc-trust-sep {
    background: #475569;
}

/* Responsive: Auth New Password Cover */
@media (max-width: 1199.98px) {
    .auth-newpass-cover-page .anc-cover { padding: 36px; }
    .auth-newpass-cover-page .anc-cover-heading { font-size: 2.2rem; }
    .auth-newpass-cover-page .anc-testimonials { flex-direction: column; }
    .auth-newpass-cover-page .anc-form-panel { width: 460px; padding: 36px; }
}

@media (max-width: 991.98px) {
    .auth-newpass-cover-page .anc-layout { flex-direction: column; }
    .auth-newpass-cover-page .anc-cover { padding: 36px 28px; }
    .auth-newpass-cover-page .anc-cover-heading { font-size: 1.8rem; }
    .auth-newpass-cover-page .anc-testimonials { display: none; }
    .auth-newpass-cover-page .anc-brands { display: none; }
    .auth-newpass-cover-page .anc-form-panel {
        width: 100%;
        padding: 36px 28px;
    }
}

@media (max-width: 575.98px) {
    .auth-newpass-cover-page .anc-cover { padding: 28px 20px; }
    .auth-newpass-cover-page .anc-cover-heading { font-size: 1.5rem; }
    .auth-newpass-cover-page .anc-stats-row { flex-direction: column; gap: 8px; }
    .auth-newpass-cover-page .anc-feature-cards { display: none; }
    .auth-newpass-cover-page .anc-form-panel { padding: 28px 20px; }
    .auth-newpass-cover-page .anc-form-title { font-size: 1.25rem; }
}


/* ============================================================ */
/* ERROR & STATUS PAGES - Premium Unique Themes                 */
/* ============================================================ */

/* ========================================
   Error 400 - Signal Disruption Theme
   ======================================== */

.error-400-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0a14;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.error-400-page::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        rgba(225, 29, 72, 0.25) 8px,
        rgba(225, 29, 72, 0.25) 16px,
        transparent 16px,
        transparent 28px,
        rgba(244, 63, 94, 0.15) 28px,
        rgba(244, 63, 94, 0.15) 32px
    );
    box-shadow:
        0 -30px 0 0 rgba(225, 29, 72, 0.06),
        0 -60px 0 0 rgba(225, 29, 72, 0.04),
        0 30px 0 0 rgba(244, 63, 94, 0.06),
        0 60px 0 0 rgba(244, 63, 94, 0.04),
        0 90px 0 0 rgba(253, 164, 175, 0.03);
    pointer-events: none;
}

.error-400-page::after {
    content: '';
    position: absolute;
    bottom: 18%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 12px,
        rgba(244, 63, 94, 0.2) 12px,
        rgba(244, 63, 94, 0.2) 18px,
        transparent 18px,
        transparent 35px,
        rgba(253, 164, 175, 0.12) 35px,
        rgba(253, 164, 175, 0.12) 40px
    );
    box-shadow:
        0 -40px 0 0 rgba(244, 63, 94, 0.05),
        0 -80px 0 0 rgba(244, 63, 94, 0.03),
        0 40px 0 0 rgba(225, 29, 72, 0.05),
        0 80px 0 0 rgba(225, 29, 72, 0.03);
    pointer-events: none;
}

.error-400-page .deco-diamond {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(225, 29, 72, 0.3);
    transform: rotate(45deg);
    pointer-events: none;
}

.error-400-page .deco-diamond--1 { top: 12%; left: 8%; width: 10px; height: 10px; border-color: rgba(244, 63, 94, 0.35); }
.error-400-page .deco-diamond--2 { top: 22%; right: 12%; width: 16px; height: 16px; border-color: rgba(225, 29, 72, 0.25); }
.error-400-page .deco-diamond--3 { bottom: 25%; left: 15%; width: 8px; height: 8px; background: rgba(253, 164, 175, 0.2); border-color: rgba(253, 164, 175, 0.35); }
.error-400-page .deco-diamond--4 { bottom: 15%; right: 10%; width: 14px; height: 14px; border-color: rgba(244, 63, 94, 0.2); }

.error-400-page .signal-container { position: relative; z-index: 2; text-align: center; max-width: 600px; width: 100%; }

.error-400-page .error-code-block { position: relative; display: inline-block; margin-bottom: 32px; }

.error-400-page .error-code-block .code-text {
    font-size: 9rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fda4af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.error-400-page .error-code-block::after {
    content: '';
    position: absolute;
    top: 0; left: -10px; right: -10px; bottom: 0;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(15, 10, 20, 0.4) 3px, rgba(15, 10, 20, 0.4) 4px);
    pointer-events: none;
}

.error-400-page .glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(225, 29, 72, 0.15);
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 28px;
}

.error-400-page .glass-card .card-title { font-size: 1.625rem; font-weight: 700; color: #ffffff; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.error-400-page .glass-card .card-title svg { color: #f43f5e; }
.error-400-page .glass-card .card-desc { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.55); line-height: 1.7; margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; }

.error-400-page .btn-row { display: flex; align-items: center; justify-content: center; gap: 14px; }

.error-400-page .btn-signal-primary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 28px; font-size: 0.875rem; font-weight: 600; color: #ffffff; background: linear-gradient(135deg, #e11d48, #f43f5e); border: none; border-radius: 10px; text-decoration: none; box-shadow: 0 4px 20px rgba(225, 29, 72, 0.3); }
.error-400-page .btn-signal-primary:hover { color: #ffffff; box-shadow: 0 6px 28px rgba(225, 29, 72, 0.45); }
.error-400-page .btn-signal-primary svg { width: 16px; height: 16px; }

.error-400-page .btn-signal-outline { display: inline-flex; align-items: center; gap: 8px; padding: 11px 28px; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10px; text-decoration: none; }
.error-400-page .btn-signal-outline:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.error-400-page .btn-signal-outline svg { width: 16px; height: 16px; }

.error-400-page .diagnostics-row { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; }

.error-400-page .diag-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(225, 29, 72, 0.1); border-radius: 10px; padding: 16px 22px; min-width: 160px; flex: 1; max-width: 200px; }
.error-400-page .diag-box .diag-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255, 255, 255, 0.35); margin-bottom: 6px; }
.error-400-page .diag-box .diag-value { font-size: 0.8125rem; font-weight: 600; color: #fda4af; display: flex; align-items: center; gap: 6px; }
.error-400-page .diag-box .diag-value svg { width: 13px; height: 13px; color: #f43f5e; }

@media (max-width: 576px) {
    .error-400-page .error-code-block .code-text { font-size: 5.5rem; }
    .error-400-page .glass-card { padding: 28px 24px; }
    .error-400-page .diagnostics-row { gap: 10px; }
    .error-400-page .diag-box { min-width: 130px; padding: 12px 16px; }
    .error-400-page .btn-row { flex-direction: column; }
    .error-400-page .btn-signal-primary,
    .error-400-page .btn-signal-outline { width: 100%; justify-content: center; }
}


/* ========================================
   Error 401 - Vault Door Theme
   ======================================== */

.error-401-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c1220;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.error-401-page .fingerprint-circles { position: absolute; pointer-events: none; }
.error-401-page .fingerprint-circles--left { top: 50%; left: -80px; transform: translateY(-50%); }
.error-401-page .fingerprint-circles--right { top: 30%; right: -100px; }

.error-401-page .fp-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(100, 116, 139, 0.08); }

.error-401-page .fingerprint-circles--left .fp-ring:nth-child(1) { width: 120px; height: 120px; top: -60px; left: -60px; border-color: rgba(100, 116, 139, 0.12); }
.error-401-page .fingerprint-circles--left .fp-ring:nth-child(2) { width: 200px; height: 200px; top: -100px; left: -100px; border-color: rgba(100, 116, 139, 0.09); }
.error-401-page .fingerprint-circles--left .fp-ring:nth-child(3) { width: 280px; height: 280px; top: -140px; left: -140px; border-color: rgba(100, 116, 139, 0.06); }
.error-401-page .fingerprint-circles--left .fp-ring:nth-child(4) { width: 360px; height: 360px; top: -180px; left: -180px; border-color: rgba(100, 116, 139, 0.04); }
.error-401-page .fingerprint-circles--left .fp-ring:nth-child(5) { width: 440px; height: 440px; top: -220px; left: -220px; border-color: rgba(100, 116, 139, 0.025); }

.error-401-page .fingerprint-circles--right .fp-ring:nth-child(1) { width: 100px; height: 100px; top: -50px; left: -50px; border-color: rgba(234, 179, 8, 0.1); }
.error-401-page .fingerprint-circles--right .fp-ring:nth-child(2) { width: 180px; height: 180px; top: -90px; left: -90px; border-color: rgba(234, 179, 8, 0.07); }
.error-401-page .fingerprint-circles--right .fp-ring:nth-child(3) { width: 260px; height: 260px; top: -130px; left: -130px; border-color: rgba(234, 179, 8, 0.04); }
.error-401-page .fingerprint-circles--right .fp-ring:nth-child(4) { width: 340px; height: 340px; top: -170px; left: -170px; border-color: rgba(234, 179, 8, 0.025); }

.error-401-page .vault-container { position: relative; z-index: 2; max-width: 520px; width: 100%; text-align: center; }

.error-401-page .vault-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(145deg, rgba(51, 65, 85, 0.5), rgba(30, 41, 59, 0.8)); border: 2px solid rgba(100, 116, 139, 0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; box-shadow: 0 0 0 8px rgba(51, 65, 85, 0.1), 0 0 0 16px rgba(51, 65, 85, 0.05); }
.error-401-page .vault-icon svg { width: 32px; height: 32px; color: #eab308; }

.error-401-page .error-ribbon { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, rgba(51, 65, 85, 0.6), rgba(71, 85, 105, 0.4)); border: 1px solid rgba(100, 116, 139, 0.2); border-radius: 8px; padding: 8px 28px; margin-bottom: 28px; }
.error-401-page .error-ribbon .ribbon-code { font-size: 1.5rem; font-weight: 800; color: #eab308; letter-spacing: 3px; }
.error-401-page .error-ribbon .ribbon-divider { width: 1px; height: 24px; background: rgba(100, 116, 139, 0.3); }
.error-401-page .error-ribbon .ribbon-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.5); }

.error-401-page .security-panel { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(100, 116, 139, 0.12); border-left: 4px solid #eab308; border-radius: 4px 14px 14px 4px; padding: 36px 40px; text-align: left; margin-bottom: 28px; }
.error-401-page .security-panel .panel-title { font-size: 1.5rem; font-weight: 700; color: #ffffff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.error-401-page .security-panel .panel-title svg { width: 22px; height: 22px; color: #eab308; }
.error-401-page .security-panel .panel-desc { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.5); line-height: 1.75; margin-bottom: 24px; }

.error-401-page .clearance-section { display: flex; align-items: center; gap: 12px; background: rgba(234, 179, 8, 0.06); border: 1px solid rgba(234, 179, 8, 0.12); border-radius: 10px; padding: 14px 20px; margin-bottom: 28px; }
.error-401-page .clearance-section .clearance-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(234, 179, 8, 0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.error-401-page .clearance-section .clearance-icon svg { width: 18px; height: 18px; color: #eab308; }
.error-401-page .clearance-section .clearance-text { flex: 1; }
.error-401-page .clearance-section .clearance-text .clearance-label { font-size: 0.8125rem; font-weight: 600; color: #eab308; margin-bottom: 2px; }
.error-401-page .clearance-section .clearance-text .clearance-detail { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); }

.error-401-page .action-buttons { display: flex; align-items: center; gap: 14px; }
.error-401-page .btn-vault-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-size: 0.875rem; font-weight: 600; color: #0c1220; background: linear-gradient(135deg, #eab308, #facc15); border: none; border-radius: 10px; text-decoration: none; box-shadow: 0 4px 20px rgba(234, 179, 8, 0.25); }
.error-401-page .btn-vault-primary:hover { color: #0c1220; box-shadow: 0 6px 28px rgba(234, 179, 8, 0.4); }
.error-401-page .btn-vault-primary svg { width: 16px; height: 16px; }
.error-401-page .btn-vault-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); background: transparent; border: 1px solid rgba(100, 116, 139, 0.25); border-radius: 10px; text-decoration: none; }
.error-401-page .btn-vault-outline:hover { color: #ffffff; border-color: rgba(100, 116, 139, 0.45); background: rgba(255, 255, 255, 0.04); }
.error-401-page .btn-vault-outline svg { width: 16px; height: 16px; }

.error-401-page .help-link { margin-top: 24px; text-align: center; }
.error-401-page .help-link a { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.35); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.error-401-page .help-link a:hover { color: rgba(255, 255, 255, 0.6); }
.error-401-page .help-link a svg { width: 14px; height: 14px; }

@media (max-width: 576px) {
    .error-401-page .security-panel { padding: 28px 22px; }
    .error-401-page .security-panel .panel-title { font-size: 1.25rem; }
    .error-401-page .error-ribbon .ribbon-code { font-size: 1.25rem; }
    .error-401-page .action-buttons { flex-direction: column; }
    .error-401-page .btn-vault-primary,
    .error-401-page .btn-vault-outline { width: 100%; justify-content: center; }
}


/* ========================================
   Error 403 - Restricted Zone Theme
   ======================================== */

.error-403-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0f0d08;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.error-403-page .caution-stripe { width: 100%; height: 10px; flex-shrink: 0; background: repeating-linear-gradient(45deg, #d97706 0px, #d97706 10px, transparent 10px, transparent 20px, #d97706 20px, #d97706 30px, transparent 30px, transparent 40px); }

.error-403-page .restricted-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.error-403-page .restricted-container { position: relative; max-width: 580px; width: 100%; text-align: center; }

.error-403-page .ban-icon { width: 88px; height: 88px; border-radius: 50%; border: 3px solid #d97706; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; position: relative; background: rgba(217, 119, 6, 0.06); }
.error-403-page .ban-icon svg { width: 36px; height: 36px; color: #f59e0b; }
.error-403-page .ban-icon::after { content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-radius: 50%; border-top: 3px solid #d97706; border-right: none; border-bottom: none; border-left: none; transform: rotate(-45deg); }

.error-403-page .error-stamp { font-size: 7rem; font-weight: 900; letter-spacing: 16px; text-transform: uppercase; line-height: 1; color: transparent; -webkit-text-stroke: 2px #d97706; margin-bottom: 8px; text-indent: 16px; }

.error-403-page .error-stamp-title { font-size: 1.625rem; font-weight: 700; color: #ffffff; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.error-403-page .error-stamp-title svg { width: 22px; height: 22px; color: #f59e0b; }

.error-403-page .notice-panel { position: relative; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(217, 119, 6, 0.15); border-radius: 4px; padding: 36px 40px; margin-bottom: 32px; text-align: left; }
.error-403-page .notice-panel::before { content: ''; position: absolute; top: -1px; left: -1px; width: 24px; height: 24px; border-top: 3px solid #d97706; border-left: 3px solid #d97706; border-radius: 4px 0 0 0; pointer-events: none; }
.error-403-page .notice-panel::after { content: ''; position: absolute; top: -1px; right: -1px; width: 24px; height: 24px; border-top: 3px solid #d97706; border-right: 3px solid #d97706; border-radius: 0 4px 0 0; pointer-events: none; }

.error-403-page .notice-panel-inner { position: relative; }
.error-403-page .notice-corners-bottom { position: absolute; bottom: -1px; left: -1px; right: -1px; top: -1px; pointer-events: none; }
.error-403-page .notice-corners-bottom::before { content: ''; position: absolute; bottom: 0; left: 0; width: 24px; height: 24px; border-bottom: 3px solid #d97706; border-left: 3px solid #d97706; border-radius: 0 0 0 4px; }
.error-403-page .notice-corners-bottom::after { content: ''; position: absolute; bottom: 0; right: 0; width: 24px; height: 24px; border-bottom: 3px solid #d97706; border-right: 3px solid #d97706; border-radius: 0 0 4px 0; }

.error-403-page .notice-header { display: inline-flex; align-items: center; gap: 8px; background: rgba(217, 119, 6, 0.1); border: 1px solid rgba(217, 119, 6, 0.2); border-radius: 6px; padding: 6px 16px; margin-bottom: 18px; }
.error-403-page .notice-header svg { width: 14px; height: 14px; color: #f59e0b; }
.error-403-page .notice-header span { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #f59e0b; }
.error-403-page .notice-text { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.5); line-height: 1.75; margin-bottom: 20px; }

.error-403-page .notice-contact { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: rgba(146, 64, 14, 0.08); border-radius: 8px; border: 1px solid rgba(146, 64, 14, 0.12); }
.error-403-page .notice-contact svg { width: 16px; height: 16px; color: #d97706; flex-shrink: 0; }
.error-403-page .notice-contact .contact-info { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); }
.error-403-page .notice-contact .contact-info strong { color: rgba(255, 255, 255, 0.7); font-weight: 600; }

.error-403-page .action-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.error-403-page .btn-restricted { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; font-size: 0.8375rem; font-weight: 600; border-radius: 10px; text-decoration: none; border: none; }
.error-403-page .btn-restricted svg { width: 15px; height: 15px; }
.error-403-page .btn-restricted--primary { color: #0f0d08; background: linear-gradient(135deg, #d97706, #f59e0b); box-shadow: 0 4px 20px rgba(217, 119, 6, 0.25); }
.error-403-page .btn-restricted--primary:hover { color: #0f0d08; box-shadow: 0 6px 28px rgba(217, 119, 6, 0.4); }
.error-403-page .btn-restricted--secondary { color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.error-403-page .btn-restricted--secondary:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.error-403-page .btn-restricted--tertiary { color: rgba(255, 255, 255, 0.5); background: transparent; border: 1px solid rgba(255, 255, 255, 0.08); }
.error-403-page .btn-restricted--tertiary:hover { color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); }

@media (max-width: 576px) {
    .error-403-page .error-stamp { font-size: 4.5rem; letter-spacing: 10px; text-indent: 10px; }
    .error-403-page .notice-panel { padding: 28px 22px; }
    .error-403-page .error-stamp-title { font-size: 1.35rem; }
    .error-403-page .action-row { flex-direction: column; }
    .error-403-page .btn-restricted { width: 100%; justify-content: center; }
}


/* =============================================
   Error 404 - Lost in Space Theme (e4f-)
   ============================================= */

.error-404-page { margin: 0; padding: 0; min-height: 100vh; background: #0f172a; font-family: 'Inter', sans-serif; overflow-x: hidden; display: flex; align-items: center; justify-content: center; }

.e4f-cosmos {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
    background:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 20% 45%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 35% 10%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 65% 25%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 75% 60%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 85% 35%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 90% 75%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 5% 70%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 40% 55%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 55% 5%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 25% 85%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 80% 10%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 15% 50%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 95% 45%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 45% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 60% 65%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 30% 95%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 8% 40%, rgba(255,255,255,0.5), transparent);
    background-color: #0f172a;
}

.e4f-planet { position: fixed; width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 40%, #8b5cf6 70%, #6d28d9 100%); top: 10%; right: -40px; z-index: 1; box-shadow: inset -30px -20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(59,130,246,0.15), 0 0 120px rgba(139,92,246,0.1); }
.e4f-planet::before { content: ''; position: absolute; width: 280px; height: 40px; border: 2px solid rgba(139,92,246,0.2); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg); }

.e4f-star { position: fixed; border-radius: 50%; z-index: 1; }
.e4f-star--1 { width: 6px; height: 6px; background: rgba(236,72,153,0.8); top: 20%; left: 12%; box-shadow: 0 0 8px rgba(236,72,153,0.4); }
.e4f-star--2 { width: 4px; height: 4px; background: rgba(139,92,246,0.9); top: 35%; left: 8%; box-shadow: 0 0 6px rgba(139,92,246,0.4); }
.e4f-star--3 { width: 8px; height: 8px; background: rgba(59,130,246,0.7); top: 70%; left: 5%; box-shadow: 0 0 12px rgba(59,130,246,0.3); }
.e4f-star--4 { width: 5px; height: 5px; background: rgba(236,72,153,0.6); top: 80%; right: 15%; box-shadow: 0 0 8px rgba(236,72,153,0.3); }
.e4f-star--5 { width: 7px; height: 7px; background: rgba(59,130,246,0.8); top: 15%; left: 45%; box-shadow: 0 0 10px rgba(59,130,246,0.4); }
.e4f-star--6 { width: 4px; height: 4px; background: rgba(139,92,246,0.7); bottom: 25%; left: 25%; box-shadow: 0 0 6px rgba(139,92,246,0.3); }

.e4f-wrapper { position: relative; z-index: 2; width: 100%; padding: 40px 16px; }
.e4f-content { max-width: 620px; margin: 0 auto; text-align: center; }
.e4f-icon-wrap { margin-bottom: 20px; }
.e4f-icon-wrap svg { color: rgba(139,92,246,0.5); width: 48px; height: 48px; }

.e4f-code { font-size: 10rem; font-weight: 800; line-height: 1; margin-bottom: 16px; background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 40%, #ec4899 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -4px; }
.e4f-title { font-size: 1.75rem; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.e4f-subtitle { font-size: 1rem; color: #94a3b8; margin-bottom: 36px; line-height: 1.6; max-width: 460px; margin-left: auto; margin-right: auto; }

.e4f-search-glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; margin-bottom: 28px; }
.e4f-search-label { font-size: 0.8rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; text-align: left; }
.e4f-search-bar { display: flex; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.e4f-search-bar input { flex: 1; padding: 12px 16px; background: rgba(15,23,42,0.6); border: none; color: #f1f5f9; font-size: 0.925rem; font-family: 'Inter', sans-serif; outline: none; }
.e4f-search-bar input::placeholder { color: #475569; }
.e4f-search-bar input:focus { background: rgba(15,23,42,0.8); }
.e4f-search-btn { padding: 12px 20px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.e4f-search-btn:hover { opacity: 0.9; }
.e4f-search-btn svg { width: 16px; height: 16px; }

.e4f-quick-links { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.e4f-quick-label { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.e4f-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; color: #cbd5e1; font-size: 0.8rem; font-weight: 500; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.e4f-pill:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: #f1f5f9; }
.e4f-pill svg { width: 13px; height: 13px; }

.e4f-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.e4f-btn-home { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; border: none; border-radius: 10px; font-size: 0.925rem; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 20px rgba(59,130,246,0.3); }
.e4f-btn-home:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); }
.e4f-btn-home svg { width: 18px; height: 18px; }
.e4f-btn-back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; font-size: 0.925rem; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: background 0.2s, border-color 0.2s; }
.e4f-btn-back:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.25); color: #f1f5f9; }
.e4f-btn-back svg { width: 18px; height: 18px; }

@media (max-width: 576px) {
    .e4f-code { font-size: 6rem; letter-spacing: -2px; }
    .e4f-title { font-size: 1.35rem; }
    .e4f-planet { width: 120px; height: 120px; top: 5%; right: -30px; }
    .e4f-planet::before { width: 170px; height: 28px; }
    .e4f-search-glass { padding: 16px; }
    .e4f-actions { flex-direction: column; }
    .e4f-btn-home, .e4f-btn-back { width: 100%; justify-content: center; }
}


/* =============================================
   Error 500 - System Terminal Theme (e5h-)
   ============================================= */

.error-500-page { margin: 0; padding: 0; min-height: 100vh; background: #0f172a; font-family: 'Inter', sans-serif; display: flex; align-items: center; justify-content: center; overflow-x: hidden; }

@keyframes e5h-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.e5h-wrapper { width: 100%; max-width: 680px; padding: 40px 16px; margin: 0 auto; }
.e5h-terminal-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-left: 4px; }
.e5h-terminal-label svg { width: 16px; height: 16px; color: #10b981; }
.e5h-terminal-label span { font-size: 0.8rem; font-weight: 500; color: #64748b; letter-spacing: 0.5px; }

.e5h-terminal { background: #1e293b; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03); margin-bottom: 32px; }

.e5h-titlebar { display: flex; align-items: center; padding: 14px 18px; background: rgba(15,23,42,0.6); border-bottom: 1px solid rgba(255,255,255,0.05); }
.e5h-dots { display: flex; gap: 8px; margin-right: 16px; }
.e5h-dot { width: 10px; height: 10px; border-radius: 50%; }
.e5h-dot--red { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.3); }
.e5h-dot--yellow { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,0.3); }
.e5h-dot--green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.3); }
.e5h-titlebar-text { font-size: 0.8rem; color: #64748b; font-family: 'Courier New', Courier, monospace; letter-spacing: 0.3px; }
.e5h-titlebar-actions { margin-left: auto; display: flex; gap: 10px; }
.e5h-titlebar-actions svg { width: 14px; height: 14px; color: #475569; }

.e5h-body { padding: 28px 24px; }
.e5h-error-code { font-family: 'Courier New', Courier, monospace; font-size: 6rem; font-weight: 700; color: #10b981; line-height: 1; margin-bottom: 8px; text-shadow: 0 0 30px rgba(16,185,129,0.2); letter-spacing: -2px; }
.e5h-command { font-family: 'Courier New', Courier, monospace; font-size: 1.05rem; color: #f1f5f9; margin-bottom: 24px; display: flex; align-items: center; gap: 4px; }
.e5h-prompt { color: #10b981; font-weight: 700; margin-right: 6px; }
.e5h-command-keyword { color: #ef4444; font-weight: 600; }
.e5h-command-msg { color: #f1f5f9; }
.e5h-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 20px 0; }

.e5h-stack { background: rgba(15,23,42,0.5); border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 16px; margin-bottom: 6px; }
.e5h-stack-title { font-family: 'Courier New', Courier, monospace; font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.e5h-stack-title svg { width: 12px; height: 12px; color: #64748b; }
.e5h-log-line { font-family: 'Courier New', Courier, monospace; font-size: 0.8rem; color: #475569; line-height: 1.9; display: flex; gap: 0; }
.e5h-log-line .e5h-timestamp { color: #374151; min-width: fit-content; white-space: nowrap; }
.e5h-log-line .e5h-level-error { color: #ef4444; font-weight: 600; }
.e5h-log-line .e5h-level-warn { color: #eab308; font-weight: 600; }
.e5h-log-line .e5h-level-info { color: #3b82f6; font-weight: 600; }
.e5h-log-text { color: #475569; }

.e5h-cursor-line { font-family: 'Courier New', Courier, monospace; font-size: 0.95rem; color: #10b981; margin-top: 20px; display: flex; align-items: center; }
.e5h-cursor-line .e5h-prompt { margin-right: 8px; }
.e5h-cursor { display: inline-block; width: 9px; height: 18px; background: #10b981; animation: e5h-blink 1s step-end infinite; }

.e5h-below { text-align: center; }
.e5h-description { font-size: 0.95rem; color: #94a3b8; line-height: 1.7; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.e5h-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15); border-radius: 100px; margin-bottom: 28px; }
.e5h-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.e5h-status-text { font-size: 0.8rem; color: #34d399; font-weight: 500; }

.e5h-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.e5h-btn-retry { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; border-radius: 10px; font-size: 0.925rem; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 20px rgba(16,185,129,0.25); }
.e5h-btn-retry:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); }
.e5h-btn-retry svg { width: 18px; height: 18px; }
.e5h-btn-home { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; font-size: 0.925rem; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: background 0.2s, border-color 0.2s; }
.e5h-btn-home:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: #f1f5f9; }
.e5h-btn-home svg { width: 18px; height: 18px; }

@media (max-width: 576px) {
    .e5h-error-code { font-size: 4rem; }
    .e5h-body { padding: 20px 16px; }
    .e5h-command { font-size: 0.85rem; flex-wrap: wrap; }
    .e5h-log-line { font-size: 0.7rem; flex-direction: column; gap: 0; }
    .e5h-actions { flex-direction: column; }
    .e5h-btn-retry, .e5h-btn-home { width: 100%; justify-content: center; }
}


/* =============================================
   Error 502 - Broken Connection Theme (e5t-)
   ============================================= */

.error-502-page { margin: 0; padding: 0; min-height: 100vh; font-family: 'Inter', sans-serif; display: flex; align-items: center; justify-content: center; overflow-x: hidden; background-color: #f8fafc; position: relative; }

.error-502-page::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px); background-size: 24px 24px; opacity: 0.4; z-index: 0; }
.error-502-page::after { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 50% 30%, rgba(8,145,178,0.06) 0%, transparent 60%); z-index: 0; }

.e5t-wrapper { position: relative; z-index: 1; width: 100%; max-width: 600px; padding: 40px 16px; margin: 0 auto; text-align: center; }

.e5t-connection-visual { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; position: relative; }
.e5t-node { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; z-index: 2; }
.e5t-node svg { width: 24px; height: 24px; }
.e5t-node--ok { background: #f0fdf4; border: 2px solid #22c55e; color: #16a34a; box-shadow: 0 4px 16px rgba(34,197,94,0.15); }
.e5t-node--ok svg { color: #16a34a; }
.e5t-node--fail { background: #fef2f2; border: 2px solid #ef4444; color: #dc2626; box-shadow: 0 4px 16px rgba(239,68,68,0.15); }
.e5t-node--fail svg { color: #dc2626; }
.e5t-node-label { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; font-weight: 600; color: #64748b; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.8px; }

.e5t-line-container { display: flex; align-items: center; width: 200px; position: relative; }
.e5t-line-segment { flex: 1; height: 0; border-top: 2.5px dashed #cbd5e1; }
.e5t-line-segment--left { border-color: #22c55e; }
.e5t-line-segment--right { border-color: #ef4444; }
.e5t-break { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid #f97316; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 10px rgba(249,115,22,0.15); }
.e5t-break svg { width: 16px; height: 16px; color: #f97316; }

.e5t-code { font-size: 5rem; font-weight: 800; line-height: 1; margin-bottom: 12px; background: linear-gradient(135deg, #0891b2, #06b6d4, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -2px; }
.e5t-title { font-size: 1.5rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.e5t-description { font-size: 0.95rem; color: #64748b; line-height: 1.7; margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }

.e5t-status-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 6px; margin-bottom: 32px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); text-align: left; }
.e5t-status-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px 8px; }
.e5t-status-header svg { width: 16px; height: 16px; color: #0891b2; }
.e5t-status-header-text { font-size: 0.8rem; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.8px; }
.e5t-status-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 10px; margin: 2px 0; }
.e5t-status-row:hover { background: #f8fafc; }
.e5t-status-row-left { display: flex; align-items: center; gap: 10px; }
.e5t-status-row-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.e5t-status-row-icon svg { width: 16px; height: 16px; }
.e5t-status-row-icon--green { background: #f0fdf4; }
.e5t-status-row-icon--green svg { color: #16a34a; }
.e5t-status-row-icon--red { background: #fef2f2; }
.e5t-status-row-icon--red svg { color: #dc2626; }
.e5t-status-row-icon--orange { background: #fffbeb; }
.e5t-status-row-icon--orange svg { color: #f97316; }
.e5t-status-row-route { font-size: 0.875rem; font-weight: 500; color: #334155; }
.e5t-status-row-route span { color: #94a3b8; margin: 0 6px; }

.e5t-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.e5t-status-badge svg { width: 12px; height: 12px; }
.e5t-badge--connected { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.e5t-badge--failed { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.e5t-badge--invalid { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.e5t-panel-divider { height: 1px; background: #f1f5f9; margin: 0 16px; }

.e5t-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.e5t-btn-retry { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #0891b2, #06b6d4); color: #fff; border: none; border-radius: 10px; font-size: 0.925rem; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 20px rgba(8,145,178,0.25); }
.e5t-btn-retry:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); }
.e5t-btn-retry svg { width: 18px; height: 18px; }
.e5t-btn-home { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; color: #475569; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 0.925rem; font-weight: 600; text-decoration: none; font-family: 'Inter', sans-serif; transition: background 0.2s, border-color 0.2s; }
.e5t-btn-home:hover { background: #f8fafc; border-color: #cbd5e1; color: #334155; }
.e5t-btn-home svg { width: 18px; height: 18px; }

.e5t-help { margin-top: 28px; font-size: 0.825rem; color: #94a3b8; }
.e5t-help a { color: #0891b2; text-decoration: none; font-weight: 500; }
.e5t-help a:hover { text-decoration: underline; }
.e5t-help svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; margin-right: 4px; }

@media (max-width: 576px) {
    .e5t-code { font-size: 3.5rem; }
    .e5t-title { font-size: 1.25rem; }
    .e5t-line-container { width: 100px; }
    .e5t-node { width: 50px; height: 50px; }
    .e5t-node svg { width: 20px; height: 20px; }
    .e5t-break { width: 30px; height: 30px; }
    .e5t-break svg { width: 14px; height: 14px; }
    .e5t-status-row-route { font-size: 0.8rem; }
    .e5t-actions { flex-direction: column; }
    .e5t-btn-retry, .e5t-btn-home { width: 100%; justify-content: center; }
}

/* Dark Mode - Error 502 */
.dark-mode.error-502-page { background-color: #0B1120; }
.dark-mode.error-502-page::before { background-image: radial-gradient(circle, #334155 1px, transparent 1px); opacity: 0.25; }
.dark-mode.error-502-page::after { background: radial-gradient(ellipse at 50% 30%, rgba(8,145,178,0.1) 0%, transparent 60%); }
.dark-mode.error-502-page .e5t-title { color: #F1F5F9; }
.dark-mode.error-502-page .e5t-description { color: #94A3B8; }
.dark-mode.error-502-page .e5t-node--ok { background: rgba(34,197,94,0.1); border-color: #22c55e; }
.dark-mode.error-502-page .e5t-node--fail { background: rgba(239,68,68,0.1); border-color: #ef4444; }
.dark-mode.error-502-page .e5t-node-label { color: #94A3B8; }
.dark-mode.error-502-page .e5t-line-segment { border-top-color: #334155; }
.dark-mode.error-502-page .e5t-line-segment--left { border-color: #22c55e; }
.dark-mode.error-502-page .e5t-line-segment--right { border-color: #ef4444; }
.dark-mode.error-502-page .e5t-break { background: #1E293B; border-color: #f97316; }
.dark-mode.error-502-page .e5t-status-panel { background: rgba(30,41,59,0.8); border-color: #334155; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.dark-mode.error-502-page .e5t-status-header-text { color: #CBD5E1; }
.dark-mode.error-502-page .e5t-status-row:hover { background: rgba(51,65,85,0.3); }
.dark-mode.error-502-page .e5t-status-row-route { color: #CBD5E1; }
.dark-mode.error-502-page .e5t-status-row-route span { color: #64748B; }
.dark-mode.error-502-page .e5t-status-row-icon--green { background: rgba(34,197,94,0.1); }
.dark-mode.error-502-page .e5t-status-row-icon--red { background: rgba(239,68,68,0.1); }
.dark-mode.error-502-page .e5t-status-row-icon--orange { background: rgba(249,115,22,0.1); }
.dark-mode.error-502-page .e5t-badge--connected { background: rgba(34,197,94,0.1); color: #4ADE80; border-color: rgba(34,197,94,0.2); }
.dark-mode.error-502-page .e5t-badge--failed { background: rgba(239,68,68,0.1); color: #F87171; border-color: rgba(239,68,68,0.2); }
.dark-mode.error-502-page .e5t-badge--invalid { background: rgba(249,115,22,0.1); color: #FBBF24; border-color: rgba(249,115,22,0.2); }
.dark-mode.error-502-page .e5t-panel-divider { background: #334155; }
.dark-mode.error-502-page .e5t-btn-home { color: #CBD5E1; border-color: #334155; }
.dark-mode.error-502-page .e5t-btn-home:hover { background: #1E293B; border-color: #475569; color: #F1F5F9; }
.dark-mode.error-502-page .e5t-help { color: #64748B; }


/* =============================================
   Error 503 - Power Grid Down Theme
   ============================================= */

.error-503-page {
    margin: 0; padding: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; background-color: #0f0a1e; color: #e2e0f0; overflow: hidden;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(109, 40, 217, 0.06) 49px, rgba(109, 40, 217, 0.06) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(109, 40, 217, 0.06) 49px, rgba(109, 40, 217, 0.06) 50px);
}

.e5th-wrapper { width: 100%; max-width: 600px; padding: 40px 24px; text-align: center; }

.e5th-gauge { position: relative; width: 200px; height: 100px; margin: 0 auto 40px; overflow: hidden; }
.e5th-gauge-body { width: 200px; height: 200px; border-radius: 50%; border: 16px solid #1c1230; border-top-color: #ef4444; border-right-color: #f59e0b; border-bottom-color: transparent; border-left-color: transparent; position: absolute; top: 0; left: 0; transform: rotate(180deg); }
.e5th-gauge-segment-green { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 16px solid transparent; border-right-color: #22c55e; top: 0; left: 0; transform: rotate(180deg); }
.e5th-gauge-track { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 4px solid rgba(109, 40, 217, 0.15); top: 0; left: 0; }
.e5th-gauge-needle { position: absolute; bottom: 0; left: 50%; width: 4px; height: 80px; background: linear-gradient(to top, #ef4444, #ff6b6b); transform-origin: bottom center; transform: translateX(-50%) rotate(-60deg); border-radius: 2px; }
.e5th-gauge-center { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #6d28d9); border: 3px solid #1c1230; }
.e5th-gauge-label-low { position: absolute; bottom: -4px; left: 4px; font-size: 10px; font-weight: 700; color: #ef4444; text-transform: uppercase; letter-spacing: 0.5px; }
.e5th-gauge-label-high { position: absolute; bottom: -4px; right: 4px; font-size: 10px; font-weight: 700; color: #22c55e; text-transform: uppercase; letter-spacing: 0.5px; }

.e5th-code { font-size: 7rem; font-weight: 900; line-height: 1; margin-bottom: 8px; background: linear-gradient(135deg, #6d28d9, #7c3aed, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -2px; }
.e5th-title { font-size: 1.6rem; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.e5th-desc { font-size: 15px; color: #8b85a8; max-width: 460px; margin: 0 auto 32px; line-height: 1.6; }

.e5th-status-panel { background: rgba(28, 18, 48, 0.8); border: 1px solid rgba(109, 40, 217, 0.2); border-radius: 14px; padding: 24px; margin-bottom: 28px; text-align: left; }
.e5th-status-header { font-size: 13px; font-weight: 700; color: #a78bfa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.e5th-status-header svg { width: 16px; height: 16px; }
.e5th-status-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(109, 40, 217, 0.1); }
.e5th-status-row:last-child { border-bottom: none; }
.e5th-status-name { font-size: 14px; font-weight: 500; color: #d4d0e8; }
.e5th-status-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.e5th-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.e5th-dot-red { background-color: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.e5th-dot-green { background-color: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.e5th-dot-yellow { background-color: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.e5th-status-text-red { color: #ef4444; }
.e5th-status-text-green { color: #22c55e; }
.e5th-status-text-yellow { color: #f59e0b; }

.e5th-eta { background: rgba(109, 40, 217, 0.1); border: 1px solid rgba(109, 40, 217, 0.15); border-radius: 10px; padding: 14px 20px; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.e5th-eta svg { width: 18px; height: 18px; color: #a78bfa; }
.e5th-eta-text { font-size: 14px; font-weight: 600; color: #c4b5fd; }

.e5th-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.e5th-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-size: 14px; font-weight: 600; color: #ffffff; background: linear-gradient(135deg, #6d28d9, #7c3aed); border: none; border-radius: 10px; cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.e5th-btn-primary:hover { background: linear-gradient(135deg, #5b21b6, #6d28d9); color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(109, 40, 217, 0.4); }
.e5th-btn-primary svg { width: 16px; height: 16px; }
.e5th-btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-size: 14px; font-weight: 600; color: #a78bfa; background: transparent; border: 1px solid rgba(109, 40, 217, 0.4); border-radius: 10px; cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.e5th-btn-outline:hover { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.6); background: rgba(109, 40, 217, 0.08); }
.e5th-btn-outline svg { width: 16px; height: 16px; }

@media (max-width: 575.98px) {
    .e5th-code { font-size: 5rem; }
    .e5th-title { font-size: 1.3rem; }
    .e5th-gauge { width: 160px; height: 80px; }
    .e5th-gauge-body, .e5th-gauge-segment-green, .e5th-gauge-track { width: 160px; height: 160px; }
    .e5th-gauge-body { border-width: 12px; }
    .e5th-gauge-segment-green { border-width: 12px; }
    .e5th-gauge-needle { height: 60px; }
    .e5th-actions { flex-direction: column; }
    .e5th-btn-primary, .e5th-btn-outline { width: 100%; justify-content: center; }
}


/* =============================================
   Maintenance - Mission Control Dashboard
   ============================================= */

.error-maint-page { margin: 0; padding: 0; min-height: 100vh; font-family: 'Inter', sans-serif; background-color: #f0f0f8; color: #334155; overflow-x: hidden; }

.emt-layout { display: flex; min-height: 100vh; }
.emt-main { flex: 0 0 60%; max-width: 60%; display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; }
.emt-logo { margin-bottom: 40px; }
.emt-logo img { height: 32px; }

.emt-icon-circle { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #4338ca, #6366f1); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.emt-icon-circle svg { width: 36px; height: 36px; color: #ffffff; }

.emt-title { font-size: 2rem; font-weight: 800; color: #1e1b4b; margin-bottom: 10px; letter-spacing: -0.5px; }
.emt-desc { font-size: 15px; color: #64748b; line-height: 1.7; max-width: 480px; margin-bottom: 32px; }

.emt-progress-wrap { max-width: 440px; margin-bottom: 32px; }
.emt-progress-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.emt-progress-label { font-size: 13px; font-weight: 600; color: #475569; }
.emt-progress-value { font-size: 13px; font-weight: 700; color: #4338ca; }
.emt-progress-track { width: 100%; height: 10px; background: #e0e0ef; border-radius: 5px; overflow: hidden; }
.emt-progress-fill { width: 65%; height: 100%; background: linear-gradient(90deg, #4338ca, #6366f1); border-radius: 5px; }

.emt-email-form { max-width: 440px; margin-bottom: 36px; }
.emt-email-label { font-size: 13px; font-weight: 600; color: #64748b; margin-bottom: 10px; }
.emt-email-group { display: flex; gap: 0; }
.emt-email-input { flex: 1; padding: 12px 16px; font-size: 14px; font-family: 'Inter', sans-serif; border: 1px solid #d1d5e8; border-right: none; border-radius: 10px 0 0 10px; background: #ffffff; color: #334155; outline: none; transition: border-color 0.2s ease; }
.emt-email-input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.emt-email-input::placeholder { color: #94a3b8; }
.emt-email-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; color: #ffffff; background: linear-gradient(135deg, #4338ca, #4f46e5); border: none; border-radius: 0 10px 10px 0; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.emt-email-btn:hover { background: linear-gradient(135deg, #3730a3, #4338ca); box-shadow: 0 4px 12px rgba(67, 56, 202, 0.35); }
.emt-email-btn svg { width: 16px; height: 16px; }

.emt-info-cards { display: flex; gap: 16px; }
.emt-info-card { flex: 1; background: #ffffff; border: 1px solid #e2e5f0; border-radius: 12px; padding: 18px 16px; text-align: center; }
.emt-info-card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #94a3b8; margin-bottom: 6px; }
.emt-info-card-value { font-size: 15px; font-weight: 700; color: #1e1b4b; }

.emt-timeline-panel { flex: 0 0 40%; max-width: 40%; background: linear-gradient(180deg, #312e81, #4338ca, #4f46e5); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.emt-timeline-panel::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, 0.04); pointer-events: none; }
.emt-timeline-panel::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 250px; height: 250px; border-radius: 50%; background: rgba(255, 255, 255, 0.03); pointer-events: none; }

.emt-timeline-title { font-size: 1.15rem; font-weight: 700; color: #ffffff; margin-bottom: 40px; position: relative; z-index: 1; }
.emt-timeline { position: relative; z-index: 1; padding-left: 32px; }
.emt-timeline::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, 0.15); }
.emt-timeline-item { position: relative; padding-bottom: 36px; }
.emt-timeline-item:last-child { padding-bottom: 0; }
.emt-timeline-dot { position: absolute; left: -32px; top: 2px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.emt-timeline-dot-completed { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }
.emt-timeline-dot-completed svg { width: 10px; height: 10px; color: #ffffff; stroke-width: 3; }
.emt-timeline-dot-active { background: #60a5fa; box-shadow: 0 0 10px rgba(96, 165, 250, 0.5); }
.emt-timeline-dot-active::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ffffff; }
.emt-timeline-dot-pending { background: rgba(255, 255, 255, 0.15); border: 2px solid rgba(255, 255, 255, 0.25); }
.emt-timeline-item-title { font-size: 14px; font-weight: 600; color: #ffffff; margin-bottom: 4px; }
.emt-timeline-item-status { font-size: 12px; font-weight: 500; }
.emt-status-completed { color: #86efac; }
.emt-status-active { color: #93c5fd; }
.emt-status-pending { color: rgba(255, 255, 255, 0.4); }

.emt-timeline-footer { margin-top: 48px; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.emt-timeline-footer svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.4); }
.emt-timeline-footer-text { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.4); }

@media (max-width: 991.98px) {
    .emt-layout { flex-direction: column; }
    .emt-main { flex: none; max-width: 100%; padding: 36px 24px; }
    .emt-timeline-panel { flex: none; max-width: 100%; padding: 36px 24px; }
    .emt-info-cards { flex-direction: column; gap: 12px; }
}

@media (max-width: 575.98px) {
    .emt-title { font-size: 1.6rem; }
    .emt-email-group { flex-direction: column; gap: 8px; }
    .emt-email-input { border-right: 1px solid #d1d5e8; border-radius: 10px; }
    .emt-email-btn { border-radius: 10px; justify-content: center; }
}

/* Dark Mode - Maintenance */
.dark-mode.error-maint-page { background-color: #0B1120; color: #CBD5E1; }
.dark-mode.error-maint-page .emt-title { color: #F1F5F9; }
.dark-mode.error-maint-page .emt-desc { color: #94A3B8; }
.dark-mode.error-maint-page .emt-progress-label { color: #94A3B8; }
.dark-mode.error-maint-page .emt-progress-value { color: #A5B4FC; }
.dark-mode.error-maint-page .emt-progress-track { background: #1E293B; }
.dark-mode.error-maint-page .emt-email-label { color: #94A3B8; }
.dark-mode.error-maint-page .emt-email-input { background: #1E293B; border-color: #334155; color: #CBD5E1; }
.dark-mode.error-maint-page .emt-email-input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.dark-mode.error-maint-page .emt-email-input::placeholder { color: #64748B; }
.dark-mode.error-maint-page .emt-info-card { background: rgba(30,41,59,0.8); border-color: #334155; }
.dark-mode.error-maint-page .emt-info-card-label { color: #64748B; }
.dark-mode.error-maint-page .emt-info-card-value { color: #F1F5F9; }
.dark-mode.error-maint-page .emt-timeline-panel { background: linear-gradient(180deg, #1E1B4B, #312E81, #3730A3); }


/* =============================================
   Coming Soon - Rocket Launch Countdown
   ============================================= */

.error-soon-page {
    margin: 0; padding: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; background: linear-gradient(170deg, #1e1b4b 0%, #1e1b5e 30%, #1e3a8a 65%, #1e2756 100%);
    color: #e2e0f0; overflow: hidden; position: relative;
}

.ecs-nebula-1 { position: fixed; top: -10%; left: -8%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%); pointer-events: none; }
.ecs-nebula-2 { position: fixed; top: 40%; right: -12%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%); pointer-events: none; }
.ecs-nebula-3 { position: fixed; bottom: -15%; left: 30%; width: 450px; height: 450px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%); pointer-events: none; }
.ecs-nebula-4 { position: fixed; top: 20%; left: 50%; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%); pointer-events: none; }

.ecs-wrapper { position: relative; z-index: 1; width: 100%; max-width: 700px; padding: 48px 24px; text-align: center; }
.ecs-logo { margin-bottom: 48px; }
.ecs-logo img { height: 34px; }

.ecs-heading { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 12px; letter-spacing: -1.5px; background: linear-gradient(135deg, #ec4899, #a855f7, #6366f1, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ecs-subtitle { font-size: 17px; font-weight: 400; color: rgba(226, 224, 240, 0.65); margin-bottom: 48px; letter-spacing: 0.2px; }

.ecs-countdown { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
.ecs-countdown .countdown-box { width: 110px; height: 110px; background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ecs-countdown .countdown-box .number { font-size: 2.5rem; font-weight: 800; color: #ffffff; line-height: 1; }
.ecs-countdown .countdown-box .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.45); }

.ecs-subscribe { max-width: 480px; margin: 0 auto 40px; }
.ecs-subscribe-label { font-size: 14px; font-weight: 500; color: rgba(226, 224, 240, 0.55); margin-bottom: 14px; }
.ecs-subscribe-group { display: flex; gap: 0; }
.ecs-subscribe-input { flex: 1; padding: 14px 18px; font-size: 14px; font-family: 'Inter', sans-serif; border: 1px solid rgba(255, 255, 255, 0.15); border-right: none; border-radius: 12px 0 0 12px; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #ffffff; outline: none; transition: border-color 0.2s ease; }
.ecs-subscribe-input:focus { border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1); }
.ecs-subscribe-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.ecs-subscribe-btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 24px; font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; color: #ffffff; background: linear-gradient(135deg, #ec4899, #a855f7); border: none; border-radius: 0 12px 12px 0; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.ecs-subscribe-btn:hover { background: linear-gradient(135deg, #db2777, #9333ea); box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4); }
.ecs-subscribe-btn svg { width: 16px; height: 16px; }

.ecs-social-label { font-size: 13px; font-weight: 500; color: rgba(226, 224, 240, 0.4); margin-bottom: 16px; }
.ecs-social-links { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ecs-social-link { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: all 0.2s ease; }
.ecs-social-link:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #ffffff; transform: translateY(-2px); }
.ecs-social-link svg { width: 18px; height: 18px; }

@media (max-width: 767.98px) {
    .ecs-heading { font-size: 2.5rem; }
    .ecs-countdown { gap: 10px; }
    .ecs-countdown .countdown-box { width: 78px; height: 78px; border-radius: 12px; }
    .ecs-countdown .countdown-box .number { font-size: 1.8rem; }
    .ecs-countdown .countdown-box .label { font-size: 9px; letter-spacing: 1px; }
}

@media (max-width: 575.98px) {
    .ecs-heading { font-size: 2rem; }
    .ecs-countdown .countdown-box { width: 68px; height: 68px; border-radius: 10px; }
    .ecs-countdown .countdown-box .number { font-size: 1.5rem; }
    .ecs-subscribe-group { flex-direction: column; gap: 8px; }
    .ecs-subscribe-input { border-right: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; }
    .ecs-subscribe-btn { border-radius: 12px; justify-content: center; }
}


/* =============================================
   Under Construction - Blueprint Studio
   ============================================= */

.error-construct-page {
    margin: 0; padding: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; background-color: #1e3a5f; color: #e2e8f0; overflow: hidden;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(96, 165, 250, 0.08) 39px, rgba(96, 165, 250, 0.08) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(96, 165, 250, 0.08) 39px, rgba(96, 165, 250, 0.08) 40px);
}

.euc-wrapper { width: 100%; max-width: 860px; padding: 48px 24px; }
.euc-logo { text-align: center; margin-bottom: 40px; }
.euc-logo img { height: 32px; }

.euc-frame { position: relative; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; padding: 48px 40px; text-align: center; margin-bottom: 40px; }
.euc-frame::before { content: ''; position: absolute; top: -1px; left: -1px; width: 24px; height: 24px; border-top: 3px solid #60a5fa; border-left: 3px solid #60a5fa; }
.euc-frame::after { content: ''; position: absolute; top: -1px; right: -1px; width: 24px; height: 24px; border-top: 3px solid #60a5fa; border-right: 3px solid #60a5fa; }
.euc-frame-inner::before { content: ''; position: absolute; bottom: -1px; left: -1px; width: 24px; height: 24px; border-bottom: 3px solid #60a5fa; border-left: 3px solid #60a5fa; }
.euc-frame-inner::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 24px; height: 24px; border-bottom: 3px solid #60a5fa; border-right: 3px solid #60a5fa; }

.euc-icon-badge { width: 72px; height: 72px; border-radius: 50%; background: rgba(234, 179, 8, 0.12); border: 2px solid rgba(234, 179, 8, 0.3); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.euc-icon-badge svg { width: 32px; height: 32px; color: #eab308; }

.euc-title { font-size: 2rem; font-weight: 800; color: #ffffff; margin-bottom: 10px; letter-spacing: -0.5px; }
.euc-desc { font-size: 15px; color: rgba(226, 232, 240, 0.6); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }

.euc-progress-wrap { max-width: 400px; margin: 0 auto; }
.euc-progress-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.euc-progress-label { font-size: 13px; font-weight: 600; color: rgba(226, 232, 240, 0.6); }
.euc-progress-value { font-size: 13px; font-weight: 700; color: #eab308; }
.euc-progress-track { width: 100%; height: 10px; background: rgba(255, 255, 255, 0.08); border-radius: 5px; overflow: hidden; }
.euc-progress-fill { width: 45%; height: 100%; background: linear-gradient(90deg, #eab308, #fbbf24); border-radius: 5px; }

.euc-features { display: flex; gap: 16px; margin-bottom: 40px; }
.euc-feature-card { flex: 1; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 28px 20px; text-align: center; background: rgba(255, 255, 255, 0.02); }
.euc-feature-icon { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.euc-feature-icon svg { width: 22px; height: 22px; }
.euc-feature-icon-blue { background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(37, 99, 235, 0.25); }
.euc-feature-icon-blue svg { color: #60a5fa; }
.euc-feature-icon-green { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.25); }
.euc-feature-icon-green svg { color: #4ade80; }
.euc-feature-icon-purple { background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.25); }
.euc-feature-icon-purple svg { color: #a78bfa; }
.euc-feature-title { font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.euc-feature-desc { font-size: 13px; color: rgba(226, 232, 240, 0.5); line-height: 1.6; margin: 0; }

.euc-newsletter { text-align: center; }
.euc-newsletter-label { font-size: 14px; font-weight: 500; color: rgba(226, 232, 240, 0.5); margin-bottom: 14px; }
.euc-newsletter-group { display: flex; gap: 0; max-width: 460px; margin: 0 auto; }
.euc-newsletter-input { flex: 1; padding: 13px 18px; font-size: 14px; font-family: 'Inter', sans-serif; border: 1px solid rgba(255, 255, 255, 0.15); border-right: none; border-radius: 10px 0 0 10px; background: rgba(255, 255, 255, 0.05); color: #ffffff; outline: none; transition: border-color 0.2s ease; }
.euc-newsletter-input:focus { border-color: rgba(234, 179, 8, 0.5); box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.08); }
.euc-newsletter-input::placeholder { color: rgba(255, 255, 255, 0.25); }
.euc-newsletter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 22px; font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; color: #1e3a5f; background: linear-gradient(135deg, #eab308, #fbbf24); border: none; border-radius: 0 10px 10px 0; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.euc-newsletter-btn:hover { background: linear-gradient(135deg, #ca8a04, #eab308); box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35); }
.euc-newsletter-btn svg { width: 16px; height: 16px; }

@media (max-width: 767.98px) {
    .euc-features { flex-direction: column; gap: 12px; }
    .euc-frame { padding: 36px 24px; }
    .euc-title { font-size: 1.6rem; }
}

@media (max-width: 575.98px) {
    .euc-title { font-size: 1.4rem; }
    .euc-newsletter-group { flex-direction: column; gap: 8px; }
    .euc-newsletter-input { border-right: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10px; }
    .euc-newsletter-btn { border-radius: 10px; justify-content: center; }
}

/* --- Premium Profile Hero --- */
@keyframes profileOrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -20px) scale(1.08); }
    50% { transform: translate(-15px, 25px) scale(0.95); }
    75% { transform: translate(25px, 10px) scale(1.03); }
}

@keyframes profileShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes profileRingRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-hero {
    position: relative;
    margin-bottom: 28px;
    animation: premiumFadeIn 0.6s ease-out both;
}

/* Cover background */
.profile-cover-bg {
    height: 220px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 35%, #A855F7 65%, #6366F1 100%);
    background-size: 300% 300%;
    animation: profileOrbDrift 12s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.profile-cover-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle 250px at 15% 40%, rgba(255,255,255,0.18) 0%, transparent 70%),
        radial-gradient(circle 200px at 85% 60%, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.profile-cover-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}
.profile-cover-orb.orb-1 {
    width: 200px; height: 200px;
    top: -40px; right: 10%;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 70%);
    animation: profileOrbDrift 8s ease-in-out infinite;
}
.profile-cover-orb.orb-2 {
    width: 150px; height: 150px;
    bottom: -20px; left: 15%;
    background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 70%);
    animation: profileOrbDrift 10s ease-in-out infinite reverse;
}
.profile-cover-orb.orb-3 {
    width: 100px; height: 100px;
    top: 30%; left: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
    animation: profileOrbDrift 6s ease-in-out infinite 1s;
}

.profile-cover-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle 2px at center, rgba(255,255,255,0.08) 0%, transparent 100%);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Glass card */
.profile-glass-card {
    margin: -60px 20px 0;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 40px rgba(99, 102, 241, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 28px 32px;
    animation: premiumFadeIn 0.5s ease-out 0.15s both;
}

.profile-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6, #A78BFA, #6366F1);
    background-size: 200% 100%;
    animation: profileShimmer 4s linear infinite;
    border-radius: 18px 18px 0 0;
}

.profile-glass-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Avatar */
.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 0deg, #6366F1, #8B5CF6, #A855F7, #EC4899, #8B5CF6, #6366F1);
    animation: profileRingRotate 6s linear infinite;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
}

.profile-status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22C55E;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 2px 8px rgba(34, 197, 94, 0.3);
    z-index: 3;
}

/* Info */
.profile-info-block {
    flex: 1;
    min-width: 200px;
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #1E293B 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.profile-role {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
    margin-bottom: 8px;
}

.profile-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.profile-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 500;
}

.profile-meta-item svg {
    color: #94A3B8;
}

/* Stats */
.profile-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 14px;
    padding: 14px 6px;
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.profile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    min-width: 80px;
}

.profile-stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.profile-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.profile-stat-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.2), transparent);
}

/* Actions */
.profile-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

/* Responsive */
@media (max-width: 991.98px) {
    .profile-glass-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .profile-meta {
        justify-content: center;
    }
    .profile-actions {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .profile-cover-bg { height: 160px; }
    .profile-glass-card { margin: -40px 10px 0; padding: 20px 16px; }
    .profile-avatar-ring { width: 90px; height: 90px; }
    .profile-name { font-size: 1.3rem; }
    .profile-stat-item { padding: 0 14px; min-width: 60px; }
    .profile-stat-number { font-size: 1.1rem; }
}

/* --- Enhanced Accordion --- */
.page-content .accordion-item {
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.page-content .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.03));
    color: var(--primary);
    font-weight: 600;
    box-shadow: none;
}

.page-content .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* --- Enhanced Footer --- */
.page-content .footer {
    border-top: 1px solid rgba(99, 102, 241, 0.08);
    padding-top: 20px;
    margin-top: 32px;
}

/* ==========================================
   56b. DARK MODE - Global Premium Enhancements
   ========================================== */
.dark-mode .page-content .card,
[data-theme="dark"] .page-content .card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .page-content .card::before,
[data-theme="dark"] .page-content .card::before {
    background: linear-gradient(90deg, #818CF8, #A78BFA, #C4B5FD, #818CF8);
    background-size: 200% 100%;
    opacity: 0.7;
}

.dark-mode .page-content .card:hover,
[data-theme="dark"] .page-content .card:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark-mode .page-content .card .card,
[data-theme="dark"] .page-content .card .card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-mode .page-content .card-title,
[data-theme="dark"] .page-content .card-title {
    background: linear-gradient(135deg, #A5B4FC, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .page-content .card-header,
[data-theme="dark"] .page-content .card-header {
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

/* Dark mode gradient cards */
.dark-mode .page-content .card.gradient-primary .card-title,
.dark-mode .page-content .card.gradient-success .card-title,
.dark-mode .page-content .card.gradient-warning .card-title,
.dark-mode .page-content .card.gradient-info .card-title,
.dark-mode .page-content .card.gradient-danger .card-title,
[data-theme="dark"] .page-content .card.gradient-primary .card-title,
[data-theme="dark"] .page-content .card.gradient-success .card-title,
[data-theme="dark"] .page-content .card.gradient-warning .card-title,
[data-theme="dark"] .page-content .card.gradient-info .card-title,
[data-theme="dark"] .page-content .card.gradient-danger .card-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
}

/* Dark mode page title */
.dark-mode .page-content .page-title,
[data-theme="dark"] .page-content .page-title {
    background: linear-gradient(135deg, #E2E8F0 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode tables */
.dark-mode .page-content .table thead th,
[data-theme="dark"] .page-content .table thead th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    color: #E2E8F0;
}

.dark-mode .page-content .table tbody tr:hover,
[data-theme="dark"] .page-content .table tbody tr:hover {
    background: rgba(99, 102, 241, 0.08);
}

.dark-mode .page-content .table tbody td,
[data-theme="dark"] .page-content .table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dark mode forms */
.dark-mode .page-content .form-control,
[data-theme="dark"] .page-content .form-control {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.dark-mode .page-content .form-control:focus,
[data-theme="dark"] .page-content .form-control:focus {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.dark-mode .page-content .form-select,
[data-theme="dark"] .page-content .form-select {
    background-color: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

/* Dark mode list group */
.dark-mode .page-content .list-group-item,
[data-theme="dark"] .page-content .list-group-item {
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .page-content .list-group-item:hover,
[data-theme="dark"] .page-content .list-group-item:hover {
    background: rgba(99, 102, 241, 0.08);
}

/* Dark mode nav tabs */
.dark-mode .page-content .nav-tabs .nav-link.active,
[data-theme="dark"] .page-content .nav-tabs .nav-link.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.25) rgba(99, 102, 241, 0.25) transparent;
}

/* Dark mode accordion */
.dark-mode .page-content .accordion-item,
[data-theme="dark"] .page-content .accordion-item {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(30, 41, 59, 0.5);
}

.dark-mode .page-content .accordion-button,
[data-theme="dark"] .page-content .accordion-button {
    background: transparent;
    color: #E2E8F0;
}

.dark-mode .page-content .accordion-button:not(.collapsed),
[data-theme="dark"] .page-content .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.1);
    color: #A5B4FC;
}

/* Dark mode alerts */
.dark-mode .page-content .alert-primary,
[data-theme="dark"] .page-content .alert-primary {
    background: rgba(99, 102, 241, 0.15);
    color: #A5B4FC;
    border-left-color: #818CF8;
}

.dark-mode .page-content .alert-success,
[data-theme="dark"] .page-content .alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: #86EFAC;
    border-left-color: #4ADE80;
}

.dark-mode .page-content .alert-warning,
[data-theme="dark"] .page-content .alert-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #FCD34D;
    border-left-color: #FBBF24;
}

.dark-mode .page-content .alert-danger,
[data-theme="dark"] .page-content .alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border-left-color: #F87171;
}

.dark-mode .page-content .alert-info,
[data-theme="dark"] .page-content .alert-info {
    background: rgba(6, 182, 212, 0.15);
    color: #67E8F9;
    border-left-color: #22D3EE;
}

/* Dark mode progress */
.dark-mode .page-content .progress,
[data-theme="dark"] .page-content .progress {
    background: rgba(255, 255, 255, 0.08);
}

/* Dark mode dropdowns */
.dark-mode .page-content .dropdown-menu:not(.dropdown-menu-dark),
[data-theme="dark"] .page-content .dropdown-menu:not(.dropdown-menu-dark) {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
}

.dark-mode .page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item,
[data-theme="dark"] .page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item {
    color: #CBD5E1;
}

.dark-mode .page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:hover,
.dark-mode .page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:focus,
[data-theme="dark"] .page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:hover,
[data-theme="dark"] .page-content .dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:focus {
    background: rgba(99, 102, 241, 0.12);
    color: #A5B4FC;
}

.dark-mode .page-content .dropdown-divider,
[data-theme="dark"] .page-content .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Dark mode modal */
.dark-mode .modal-content,
[data-theme="dark"] .modal-content {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.dark-mode .modal-header,
.dark-mode .modal-footer,
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Dark mode offcanvas */
.dark-mode .offcanvas,
[data-theme="dark"] .offcanvas {
    background: rgba(30, 41, 59, 0.98);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.dark-mode .offcanvas-header,
[data-theme="dark"] .offcanvas-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Dark mode toast */
.dark-mode .page-content .toast,
[data-theme="dark"] .page-content .toast {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .page-content .toast-header,
[data-theme="dark"] .page-content .toast-header {
    background: rgba(30, 41, 59, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
}

/* Dark mode carousel */
.dark-mode .page-content .carousel-control-prev,
.dark-mode .page-content .carousel-control-next,
[data-theme="dark"] .page-content .carousel-control-prev,
[data-theme="dark"] .page-content .carousel-control-next {
    background: rgba(255, 255, 255, 0.1);
}

/* Dark mode auth pages */
.dark-mode .auth-page,
[data-theme="dark"] .auth-page {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E1B4B 100%);
    background-size: 200% 200%;
}

.dark-mode .auth-card,
[data-theme="dark"] .auth-card {
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.dark-mode .auth-card .form-control,
[data-theme="dark"] .auth-card .form-control {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.dark-mode .auth-card .input-group-text,
[data-theme="dark"] .auth-card .input-group-text {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: #A5B4FC;
}

.dark-mode .auth-cover-side,
[data-theme="dark"] .auth-cover-side {
    background: linear-gradient(135deg, #312E81, #4338CA, #4C1D95);
}

/* Dark mode footer */
.dark-mode .page-content .footer,
[data-theme="dark"] .page-content .footer {
    border-top: 1px solid rgba(99, 102, 241, 0.12);
}

/* Dark mode profile hero */
.dark-mode .profile-cover-bg,
[data-theme="dark"] .profile-cover-bg {
    background: linear-gradient(135deg, #312E81 0%, #4338CA 35%, #6D28D9 65%, #4F46E5 100%);
}

.dark-mode .profile-glass-card,
[data-theme="dark"] .profile-glass-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .profile-name,
[data-theme="dark"] .profile-name {
    background: linear-gradient(135deg, #E2E8F0 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .profile-role,
[data-theme="dark"] .profile-role {
    color: #94A3B8;
}

.dark-mode .profile-stats-row,
[data-theme="dark"] .profile-stats-row {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.12);
}

.dark-mode .profile-stat-number,
[data-theme="dark"] .profile-stat-number {
    background: linear-gradient(135deg, #A5B4FC, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .profile-avatar-ring,
[data-theme="dark"] .profile-avatar-ring {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.dark-mode .profile-avatar,
[data-theme="dark"] .profile-avatar {
    border-color: #1E293B;
}

.dark-mode .profile-status-dot,
[data-theme="dark"] .profile-status-dot {
    border-color: #1E293B;
}

/* --- Premium Settings Page --- */

/* Settings Nav Card */
.settings-nav-card {
    position: sticky;
}

.settings-user-info {
    position: relative;
}

.settings-avatar-wrap {
    position: relative;
    display: inline-block;
}

.settings-online-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
}

/* Settings Nav Pills */
.settings-nav-pills .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--bs-body-color, #334155);
    transition: all 0.3s ease;
    margin-bottom: 4px;
    text-align: left;
    border: 1px solid transparent;
}

.settings-nav-pills .nav-link:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.1);
}

.settings-nav-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.08));
    color: var(--bs-primary, #6366f1);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.settings-nav-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.08);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.settings-nav-icon svg {
    width: 16px;
    height: 16px;
}

.settings-nav-pills .nav-link.active .settings-nav-icon {
    background: linear-gradient(135deg, var(--bs-primary, #6366f1), #a855f7);
    color: #fff;
}

.settings-nav-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.settings-nav-text span {
    font-weight: 600;
    font-size: 0.875rem;
}

.settings-nav-text small {
    font-size: 0.7rem;
    opacity: 0.65;
    font-weight: 400;
}

/* Settings Photo Upload */
.settings-photo-upload {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.03);
    border: 1px dashed rgba(99, 102, 241, 0.2);
}

.settings-photo-preview {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.settings-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.settings-photo-overlay svg {
    width: 24px;
    height: 24px;
}

.settings-photo-preview:hover .settings-photo-overlay {
    opacity: 1;
}

/* Settings Security Icons */
.settings-security-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-device-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Security Score Circle */
.settings-security-score {
    flex-shrink: 0;
}

.settings-score-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-score-circle svg {
    transform: rotate(-90deg);
}

.settings-score-text {
    position: absolute;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bs-success, #22c55e);
}

/* Password Strength */
.settings-password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-strength-bars {
    display: flex;
    gap: 4px;
    flex-grow: 1;
}

.settings-strength-bar {
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    flex: 1;
    transition: all 0.3s ease;
}

.settings-strength-bar.active {
    background: linear-gradient(90deg, #22c55e, #eab308);
}

.settings-strength-bar.active:nth-child(1) { background: #22c55e; }
.settings-strength-bar.active:nth-child(2) { background: #84cc16; }
.settings-strength-bar.active:nth-child(3) { background: #eab308; }
.settings-strength-bar.active:nth-child(4) { background: #22c55e; }

/* Session Items */
.settings-session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Privacy Items */
.settings-privacy-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.settings-privacy-item:first-child {
    padding-top: 0;
}

/* Connected Apps */
.settings-connected-app {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.settings-connected-app:first-child {
    padding-top: 0;
}

.settings-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Data Management Action Cards */
.settings-data-action-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    height: 100%;
}

.settings-data-action-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

/* Billing - Current Plan */
.settings-current-plan {
    display: flex;
    gap: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.settings-plan-info {
    flex: 1;
    min-width: 0;
}

.settings-plan-usage {
    flex: 1;
    min-width: 0;
}

/* Plan Comparison Cards */
.settings-plan-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    height: 100%;
    transition: all 0.3s ease;
}

.settings-plan-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.settings-plan-current {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.settings-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.settings-plan-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

/* Payment Cards */
.settings-payment-card {
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.settings-payment-card:last-child {
    margin-bottom: 0;
}

.settings-payment-card:hover {
    border-color: rgba(99, 102, 241, 0.15);
    background: rgba(99, 102, 241, 0.02);
}

.settings-payment-default {
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.03);
}

.settings-card-brand {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .settings-nav-card {
        position: static;
    }
    .settings-current-plan {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .settings-photo-upload {
        flex-direction: column;
        text-align: center;
    }
}

/* Dark Mode - Settings */
.dark-mode .settings-online-dot,
[data-theme="dark"] .settings-online-dot {
    border-color: #1e293b;
}

.dark-mode .settings-nav-pills .nav-link,
[data-theme="dark"] .settings-nav-pills .nav-link {
    color: #cbd5e1;
}

.dark-mode .settings-nav-pills .nav-link:hover,
[data-theme="dark"] .settings-nav-pills .nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
}

.dark-mode .settings-nav-pills .nav-link.active,
[data-theme="dark"] .settings-nav-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.15));
    border-color: rgba(99, 102, 241, 0.3);
}

.dark-mode .settings-nav-icon,
[data-theme="dark"] .settings-nav-icon {
    background: rgba(99, 102, 241, 0.15);
}

.dark-mode .settings-photo-upload,
[data-theme="dark"] .settings-photo-upload {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.15);
}

.dark-mode .settings-strength-bar,
[data-theme="dark"] .settings-strength-bar {
    background: #334155;
}

.dark-mode .settings-session-item,
[data-theme="dark"] .settings-session-item,
.dark-mode .settings-privacy-item,
[data-theme="dark"] .settings-privacy-item,
.dark-mode .settings-connected-app,
[data-theme="dark"] .settings-connected-app {
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .settings-data-action-card,
[data-theme="dark"] .settings-data-action-card,
.dark-mode .settings-plan-card,
[data-theme="dark"] .settings-plan-card {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .settings-plan-current,
[data-theme="dark"] .settings-plan-current {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}

.dark-mode .settings-current-plan,
[data-theme="dark"] .settings-current-plan {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.06));
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .settings-payment-card,
[data-theme="dark"] .settings-payment-card {
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .settings-payment-default,
[data-theme="dark"] .settings-payment-default {
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.06);
}

.dark-mode .settings-app-icon,
[data-theme="dark"] .settings-app-icon {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* --- Premium Pricing Page --- */

/* Pricing Hero */
.pricing-hero {
    padding: 10px 0 0;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--bs-primary, #6366f1);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-hero-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, var(--bs-primary, #6366f1) 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

/* Pricing Toggle */
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-toggle-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-save-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 4px;
}

/* Pricing Cards */
.pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-popular {
    border: 2px solid var(--bs-primary, #6366f1);
    position: relative;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.pricing-card-popular:hover {
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.pricing-card-popular.card {
    overflow: visible;
}

.pricing-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--bs-primary, #6366f1), #a855f7);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

/* Plan Icons */
.pricing-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.pricing-plan-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.pricing-icon-free {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), rgba(100, 116, 139, 0.05));
    color: #64748b;
}

.pricing-icon-starter {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.pricing-icon-pro {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    color: var(--bs-primary, #6366f1);
}

.pricing-icon-enterprise {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

/* Pricing Price */
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card-popular .pricing-amount {
    background: linear-gradient(135deg, var(--bs-primary, #6366f1), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing Features */
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.875rem;
}

.pricing-feature-included svg {
    color: #22c55e;
    flex-shrink: 0;
}

.pricing-feature-excluded {
    opacity: 0.45;
}

.pricing-feature-excluded svg {
    color: #94a3b8;
    flex-shrink: 0;
}

/* Feature Comparison Table */
.pricing-compare-table th {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 16px;
}

.pricing-compare-highlight {
    background: rgba(99, 102, 241, 0.04);
}

.pricing-compare-section td {
    background: rgba(0, 0, 0, 0.02);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    padding-top: 14px !important;
    padding-bottom: 8px !important;
}

.pricing-compare-table tbody td {
    font-size: 0.85rem;
    padding: 10px 16px;
    vertical-align: middle;
}

/* Trust Icons */
.pricing-trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Card */
.pricing-cta-card {
    background: linear-gradient(135deg, var(--bs-primary, #6366f1), #7c3aed, #a855f7);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.pricing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .pricing-hero-title {
        font-size: 1.5rem;
    }
    .pricing-cta-card {
        padding: 24px;
        text-align: center;
        flex-direction: column;
    }
}

/* Dark Mode - Pricing */
.dark-mode .pricing-hero-title,
[data-theme="dark"] .pricing-hero-title {
    background: linear-gradient(135deg, #e2e8f0, var(--bs-primary, #6366f1), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .pricing-toggle,
[data-theme="dark"] .pricing-toggle {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .pricing-amount,
[data-theme="dark"] .pricing-amount {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .pricing-card-popular .pricing-amount,
[data-theme="dark"] .pricing-card-popular .pricing-amount {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .pricing-compare-highlight,
[data-theme="dark"] .pricing-compare-highlight {
    background: rgba(99, 102, 241, 0.08);
}

.dark-mode .pricing-compare-section td,
[data-theme="dark"] .pricing-compare-section td {
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
}

.dark-mode .pricing-card-popular,
[data-theme="dark"] .pricing-card-popular {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

/* End of Global Premium Enhancements */


/* ===========================================
   Page: page-pricing2 (Modern Pricing)
   ========================================== */

/* Hero Section */
.page-pricing2 .p2-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4338ca 60%, #6366f1 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden !important;
    min-height: 320px;
}

.page-pricing2 .p2-hero::before {
    display: none !important;
}

.page-pricing2 .p2-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 20px;
}

.page-pricing2 .p2-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.page-pricing2 .p2-hero-orb-1 {
    width: 300px;
    height: 300px;
    background: #818cf8;
    top: -80px;
    right: -60px;
    animation: authOrbFloat 8s ease-in-out infinite;
}

.page-pricing2 .p2-hero-orb-2 {
    width: 200px;
    height: 200px;
    background: #a855f7;
    bottom: -60px;
    left: -40px;
    animation: authOrbFloat 10s ease-in-out infinite reverse;
}

.page-pricing2 .p2-hero-orb-3 {
    width: 150px;
    height: 150px;
    background: #c084fc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: authOrbFloat 12s ease-in-out infinite;
}

.page-pricing2 .p2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
}

.page-pricing2 .p2-hero-title {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
}

/* Billing Toggle */
.page-pricing2 .p2-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.page-pricing2 .p2-toggle-btn {
    background: none;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-pricing2 .p2-toggle-btn.active {
    background: #fff;
    color: #1e1b4b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-pricing2 .p2-save-tag {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Stats Cards */
.page-pricing2 .p2-stat-card {
    border: none !important;
    text-align: center;
}

.page-pricing2 .p2-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.page-pricing2 .p2-stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Plan Cards */
.page-pricing2 .p2-plan-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px !important;
    transition: all 0.4s ease;
}

.page-pricing2 .p2-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}

.page-pricing2 .p2-plan-featured {
    border: 2px solid var(--bs-primary, #6366f1) !important;
    overflow: visible !important;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12) !important;
}

.page-pricing2 .p2-plan-featured:hover {
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.18) !important;
}

.page-pricing2 .p2-featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--bs-primary, #6366f1), #a855f7);
    color: #fff;
    padding: 5px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-pricing2 .p2-featured-badge svg {
    width: 12px;
    height: 12px;
}

/* Plan Icons */
.page-pricing2 .p2-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-pricing2 .p2-plan-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.page-pricing2 .p2-plan-icon-basic {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.page-pricing2 .p2-plan-icon-pro {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    color: #6366f1;
}

.page-pricing2 .p2-plan-icon-business {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

/* Price */
.page-pricing2 .p2-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.page-pricing2 .p2-price-featured {
    background: linear-gradient(135deg, #4338ca, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Divider */
.page-pricing2 .p2-plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin-bottom: 20px;
}

.page-pricing2 .p2-divider-featured {
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
}

/* Feature List */
.page-pricing2 .p2-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.9rem;
    color: #475569;
}

.page-pricing2 .p2-feature-list .p2-feature-disabled {
    opacity: 0.45;
}

.page-pricing2 .p2-feature-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-pricing2 .p2-check-featured {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.page-pricing2 .p2-feature-x {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-pricing2 .p2-feature-x svg,
.page-pricing2 .p2-feature-check svg {
    width: 12px;
    height: 12px;
}

/* Plan Buttons */
.page-pricing2 .p2-plan-btn {
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-pricing2 .p2-btn-featured {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.page-pricing2 .p2-btn-featured:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* Add-on Cards */
.page-pricing2 .p2-addon-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-pricing2 .p2-addon-card:hover {
    border-color: var(--bs-primary, #6366f1) !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1) !important;
}

.page-pricing2 .p2-addon-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-pricing2 .p2-addon-icon svg {
    width: 20px;
    height: 20px;
}

.page-pricing2 .p2-addon-price {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bs-primary, #6366f1);
    white-space: nowrap;
}

/* Comparison Table */
.page-pricing2 .p2-compare-card {
    border-radius: 20px !important;
}

.page-pricing2 .p2-compare-table th {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    vertical-align: bottom;
}

.page-pricing2 .p2-compare-table td {
    padding: 12px 16px;
    font-size: 0.875rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.page-pricing2 .p2-col-highlight {
    background: rgba(99, 102, 241, 0.04) !important;
}

.page-pricing2 .p2-col-badge {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-primary, #6366f1);
    margin-bottom: 4px;
}

.page-pricing2 .p2-section-row td {
    background: rgba(99, 102, 241, 0.03) !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    padding: 10px 16px;
}

.page-pricing2 .p2-section-row td svg {
    opacity: 0.5;
}

/* Testimonial Cards */
.page-pricing2 .p2-testimonial-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.page-pricing2 .p2-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06) !important;
}

.page-pricing2 .p2-testimonial-quote {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.08));
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.page-pricing2 .p2-testimonial-quote svg {
    width: 20px;
    height: 20px;
}

.page-pricing2 .p2-testimonial-card p {
    color: #475569;
    line-height: 1.65;
    font-size: 0.9rem;
}

/* FAQ Accordion */
.page-pricing2 .p2-faq-accordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.page-pricing2 .p2-faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 20px;
    border-radius: 12px !important;
}

.page-pricing2 .p2-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.04);
    color: var(--bs-primary, #6366f1);
}

.page-pricing2 .p2-faq-accordion .accordion-body {
    padding: 0 20px 16px;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* CTA Card */
.page-pricing2 .p2-cta-card {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden !important;
}

.page-pricing2 .p2-cta-card::before {
    display: none !important;
}

.page-pricing2 .p2-cta-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    right: -80px;
    top: -80px;
}

.page-pricing2 .p2-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
}

.page-pricing2 .p2-cta-badge svg {
    width: 14px;
    height: 14px;
}

/* ---- Dark Mode: Pricing 2 ---- */
.dark-mode.page-pricing2 .p2-hero,
[data-theme="dark"].page-pricing2 .p2-hero {
    background: linear-gradient(135deg, #0f0e2a 0%, #1a1744 30%, #272366 60%, #3730a3 100%) !important;
}

.dark-mode.page-pricing2 .p2-stat-value,
[data-theme="dark"].page-pricing2 .p2-stat-value {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.page-pricing2 .p2-price,
[data-theme="dark"].page-pricing2 .p2-price {
    color: #e2e8f0;
}

.dark-mode.page-pricing2 .p2-price-featured,
[data-theme="dark"].page-pricing2 .p2-price-featured {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.page-pricing2 .p2-plan-card,
[data-theme="dark"].page-pricing2 .p2-plan-card {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-mode.page-pricing2 .p2-plan-featured,
[data-theme="dark"].page-pricing2 .p2-plan-featured {
    border-color: rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15) !important;
}

.dark-mode.page-pricing2 .p2-plan-divider,
[data-theme="dark"].page-pricing2 .p2-plan-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.dark-mode.page-pricing2 .p2-feature-list li,
[data-theme="dark"].page-pricing2 .p2-feature-list li {
    color: #cbd5e1;
}

.dark-mode.page-pricing2 .p2-addon-card,
[data-theme="dark"].page-pricing2 .p2-addon-card {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-mode.page-pricing2 .p2-addon-card:hover,
[data-theme="dark"].page-pricing2 .p2-addon-card:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.dark-mode.page-pricing2 .p2-col-highlight,
[data-theme="dark"].page-pricing2 .p2-col-highlight {
    background: rgba(99, 102, 241, 0.06) !important;
}

.dark-mode.page-pricing2 .p2-section-row td,
[data-theme="dark"].page-pricing2 .p2-section-row td {
    background: rgba(99, 102, 241, 0.05) !important;
    color: #94a3b8;
}

.dark-mode.page-pricing2 .p2-testimonial-card,
[data-theme="dark"].page-pricing2 .p2-testimonial-card {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.dark-mode.page-pricing2 .p2-testimonial-card p,
[data-theme="dark"].page-pricing2 .p2-testimonial-card p {
    color: #94a3b8;
}

.dark-mode.page-pricing2 .p2-faq-accordion .accordion-item,
[data-theme="dark"].page-pricing2 .p2-faq-accordion .accordion-item {
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode.page-pricing2 .p2-cta-card,
[data-theme="dark"].page-pricing2 .p2-cta-card {
    background: linear-gradient(135deg, #272366 0%, #3730a3 50%, #4c1d95 100%) !important;
}

/* Responsive: Pricing 2 */
@media (max-width: 991.98px) {
    .page-pricing2 .p2-hero-title { font-size: 1.8rem; }
    .page-pricing2 .p2-hero .card-body { padding: 2rem !important; }
    .page-pricing2 .p2-cta-card .card-body { padding: 2rem !important; }
}

@media (max-width: 575.98px) {
    .page-pricing2 .p2-hero-title { font-size: 1.5rem; }
    .page-pricing2 .p2-price { font-size: 2rem; }
    .page-pricing2 .p2-toggle-btn { padding: 6px 16px; font-size: 0.8rem; }
    .page-pricing2 .p2-stat-value { font-size: 1.25rem; }
}


/* ===========================================
   Page: page-faq (FAQ)
   ========================================== */

/* FAQ Hero */
.page-faq .faq-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #6366f1 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden !important;
}

.page-faq .faq-hero::before { display: none !important; }

.page-faq .faq-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.page-faq .faq-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}

.page-faq .faq-hero-orb-1 {
    width: 250px; height: 250px;
    background: #818cf8;
    top: -60px; right: -40px;
    animation: authOrbFloat 8s ease-in-out infinite;
}

.page-faq .faq-hero-orb-2 {
    width: 180px; height: 180px;
    background: #a855f7;
    bottom: -50px; left: -30px;
    animation: authOrbFloat 10s ease-in-out infinite reverse;
}

.page-faq .faq-hero-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.page-faq .faq-hero-icon svg { width: 28px; height: 28px; }

.page-faq .faq-hero-title {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #fff, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Search Box */
.page-faq .faq-search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    gap: 10px;
    color: rgba(255,255,255,0.6);
}

.page-faq .faq-search-box .form-control {
    background: transparent;
    border: none;
    color: #fff;
    box-shadow: none;
    padding: 8px 0;
}

.page-faq .faq-search-box .form-control::placeholder { color: rgba(255,255,255,0.4); }
.page-faq .faq-search-box .form-control:focus { box-shadow: none; }

.page-faq .faq-search-box .btn {
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    white-space: nowrap;
}

/* Topic Cards */
.page-faq .faq-topic-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.page-faq .faq-topic-card:hover {
    transform: translateY(-3px);
    border-color: var(--bs-primary, #6366f1) !important;
    box-shadow: 0 8px 24px rgba(99,102,241,0.1) !important;
}

.page-faq .faq-topic-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-faq .faq-topic-icon svg { width: 20px; height: 20px; }

/* FAQ Accordion */
.page-faq .faq-accordion .accordion-item {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.page-faq .faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 20px;
    gap: 12px;
}

.page-faq .faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(99,102,241,0.04);
    color: var(--bs-primary, #6366f1);
}

.page-faq .faq-accordion .accordion-body {
    padding: 0 20px 16px 52px;
    line-height: 1.7;
    font-size: 0.9rem;
}

.page-faq .faq-q-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(99,102,241,0.08);
    color: var(--bs-primary, #6366f1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-faq .faq-q-icon svg { width: 16px; height: 16px; }

/* Contact Cards */
.page-faq .faq-contact-card {
    border: 1px solid rgba(0,0,0,0.06) !important;
    transition: all 0.3s ease;
}

.page-faq .faq-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
}

.page-faq .faq-contact-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-faq .faq-contact-icon svg { width: 24px; height: 24px; }

/* Contact Form CTA */
.page-faq .faq-form-card {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative;
}

.page-faq .faq-form-card::before { display: none !important; }

.page-faq .faq-form-card::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    right: -60px; top: -60px;
}

.page-faq .faq-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    font-weight: 600;
}

.page-faq .faq-form-badge svg { width: 14px; height: 14px; }

.page-faq .faq-contact-form .form-control,
.page-faq .faq-contact-form .form-select {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
}

.page-faq .faq-contact-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.page-faq .faq-contact-form .form-control:focus,
.page-faq .faq-contact-form .form-select:focus {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
    color: #fff;
}

.page-faq .faq-contact-form .form-select {
    color: rgba(255,255,255,0.5);
}

/* Dark mode: FAQ */
.dark-mode.page-faq .faq-hero,
[data-theme="dark"].page-faq .faq-hero {
    background: linear-gradient(135deg, #0f0e2a 0%, #1a1744 40%, #272366 70%, #3730a3 100%) !important;
}

.dark-mode.page-faq .faq-topic-card,
[data-theme="dark"].page-faq .faq-topic-card {
    border-color: rgba(255,255,255,0.06) !important;
}

.dark-mode.page-faq .faq-accordion .accordion-item,
[data-theme="dark"].page-faq .faq-accordion .accordion-item {
    border-color: rgba(255,255,255,0.06);
}

.dark-mode.page-faq .faq-contact-card,
[data-theme="dark"].page-faq .faq-contact-card {
    border-color: rgba(255,255,255,0.06) !important;
}

.dark-mode.page-faq .faq-form-card,
[data-theme="dark"].page-faq .faq-form-card {
    background: linear-gradient(135deg, #272366 0%, #3730a3 50%, #4c1d95 100%) !important;
}

/* Responsive: FAQ */
@media (max-width: 991.98px) {
    .page-faq .faq-hero-title { font-size: 1.7rem; }
    .page-faq .faq-hero .card-body { padding: 2rem !important; }
    .page-faq .faq-form-card .card-body { padding: 2rem !important; }
}

@media (max-width: 575.98px) {
    .page-faq .faq-hero-title { font-size: 1.4rem; }
}


/* ===========================================
   Page: page-activity (Activity)
   ========================================== */

/* Stat Cards */
.page-activity .act-stat-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-activity .act-stat-icon svg { width: 20px; height: 20px; }

.page-activity .act-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Pills */
.page-activity .act-nav-pills .nav-link {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
}

/* Day Labels */
.page-activity .act-day-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    background: rgba(99,102,241,0.04);
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.page-activity .act-day-label svg { opacity: 0.5; }

/* Timeline */
.page-activity .act-timeline {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}

.page-activity .act-timeline::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(99,102,241,0.15), rgba(99,102,241,0.03));
    border-radius: 2px;
}

.page-activity .act-timeline-item {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    position: relative;
}

.page-activity .act-timeline-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    margin-left: -28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.8);
}

.page-activity .act-timeline-dot svg { width: 12px; height: 12px; stroke-width: 2.5; }

.page-activity .act-timeline-content {
    flex-grow: 1;
    padding-top: 2px;
}

.page-activity .act-timeline-content p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Comment Preview */
.page-activity .act-comment-preview {
    background: rgba(99,102,241,0.04);
    border-left: 3px solid rgba(99,102,241,0.3);
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.84rem;
    color: #64748b;
    margin-top: 6px;
    font-style: italic;
}

/* File Tags */
.page-activity .act-file-list {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.page-activity .act-file-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(99,102,241,0.06);
    color: #475569;
}

.page-activity .act-file-tag svg { width: 11px; height: 11px; opacity: 0.6; }

/* Member List */
.page-activity .act-member-list {
    padding: 0;
}

.page-activity .act-member-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s ease;
}

.page-activity .act-member-item:last-child { border-bottom: none; }
.page-activity .act-member-item:hover { background: rgba(99,102,241,0.02); }

.page-activity .act-online-dot {
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #fff;
}

/* Project List */
.page-activity .act-project-list {
    padding: 0;
}

.page-activity .act-project-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

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

.page-activity .act-project-color {
    width: 4px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
}

.page-activity .act-project-progress {
    height: 4px;
    border-radius: 4px;
    background: rgba(0,0,0,0.04);
}

.page-activity .act-project-progress .progress-bar {
    border-radius: 4px;
}

/* Dark mode: Activity */
.dark-mode.page-activity .act-stat-value,
[data-theme="dark"].page-activity .act-stat-value {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.page-activity .act-timeline::before,
[data-theme="dark"].page-activity .act-timeline::before {
    background: linear-gradient(180deg, rgba(129,140,248,0.15), rgba(129,140,248,0.03));
}

.dark-mode.page-activity .act-timeline-dot,
[data-theme="dark"].page-activity .act-timeline-dot {
    box-shadow: 0 0 0 3px rgba(30,41,59,0.8);
}

.dark-mode.page-activity .act-comment-preview,
[data-theme="dark"].page-activity .act-comment-preview {
    background: rgba(99,102,241,0.06);
    border-left-color: rgba(129,140,248,0.3);
    color: #94a3b8;
}

.dark-mode.page-activity .act-file-tag,
[data-theme="dark"].page-activity .act-file-tag {
    background: rgba(99,102,241,0.08);
    color: #94a3b8;
}

.dark-mode.page-activity .act-member-item,
[data-theme="dark"].page-activity .act-member-item {
    border-bottom-color: rgba(255,255,255,0.04);
}

.dark-mode.page-activity .act-member-item:hover,
[data-theme="dark"].page-activity .act-member-item:hover {
    background: rgba(99,102,241,0.04);
}

.dark-mode.page-activity .act-online-dot,
[data-theme="dark"].page-activity .act-online-dot {
    border-color: #1e293b;
}

.dark-mode.page-activity .act-project-item,
[data-theme="dark"].page-activity .act-project-item {
    border-bottom-color: rgba(255,255,255,0.04);
}

.dark-mode.page-activity .act-project-progress,
[data-theme="dark"].page-activity .act-project-progress {
    background: rgba(255,255,255,0.06);
}

.dark-mode.page-activity .act-day-label,
[data-theme="dark"].page-activity .act-day-label {
    background: rgba(99,102,241,0.06);
    color: #818cf8;
}


/* ===========================================
   Page: page-blog-list (Blog List)
   ========================================== */

/* Hero Section */
.page-blog-list .blog-hero {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 40%, #c7d2fe 70%, #ddd6fe 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    position: relative;
    overflow: hidden !important;
}

.page-blog-list .blog-hero::before { display: none !important; }

.page-blog-list .blog-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: authOrbFloat 8s ease-in-out infinite;
}

.page-blog-list .blog-hero-orb-1 {
    width: 120px; height: 120px;
    background: rgba(99,102,241,0.3);
    top: -30px; right: 10%;
    animation-delay: 0s;
}

.page-blog-list .blog-hero-orb-2 {
    width: 80px; height: 80px;
    background: rgba(139,92,246,0.25);
    bottom: -20px; left: 15%;
    animation-delay: -3s;
}

.page-blog-list .blog-hero-orb-3 {
    width: 60px; height: 60px;
    background: rgba(168,85,247,0.2);
    top: 50%; right: 30%;
    animation-delay: -5s;
}

.page-blog-list .blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99,102,241,0.12);
    color: #4338ca;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.page-blog-list .blog-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #312e81, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.page-blog-list .blog-hero-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Filter Bar */
.page-blog-list .blog-filter-card {
    border: 1px solid rgba(99,102,241,0.08) !important;
    border-radius: 12px !important;
}

.page-blog-list .blog-filter-card::before { display: none !important; }

.page-blog-list .blog-filter-btn {
    background: none;
    border: 1px solid transparent;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-blog-list .blog-filter-btn:hover {
    background: rgba(99,102,241,0.06);
    color: #4338ca;
}

.page-blog-list .blog-filter-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.page-blog-list .blog-filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 0 12px;
    color: #94a3b8;
}

.page-blog-list .blog-filter-search .form-control {
    border: none;
    background: transparent;
    padding: 6px 0;
    font-size: 0.82rem;
    box-shadow: none;
    width: 160px;
}

.page-blog-list .blog-sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-blog-list .blog-sort-btn:hover {
    border-color: rgba(99,102,241,0.3);
    color: #4338ca;
}

/* Featured Post */
.page-blog-list .blog-featured-card {
    border: 1px solid rgba(99,102,241,0.1) !important;
    border-radius: 16px !important;
    position: relative;
    transition: all 0.3s ease;
}

.page-blog-list .blog-featured-card::before { display: none !important; }

.page-blog-list .blog-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99,102,241,0.12);
}

.page-blog-list .blog-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.page-blog-list .blog-featured-img {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.page-blog-list .blog-featured-gradient {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-blog-list .blog-featured-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Blog List Cards */
.page-blog-list .blog-list-card {
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 14px !important;
    transition: all 0.3s ease;
    overflow: hidden !important;
}

.page-blog-list .blog-list-card::before { display: none !important; }

.page-blog-list .blog-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.15) !important;
}

.page-blog-list .blog-list-img {
    position: relative;
    overflow: hidden;
}

.page-blog-list .blog-list-gradient {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.page-blog-list .blog-list-card:hover .blog-list-gradient {
    transform: scale(1.05);
}

.page-blog-list .blog-list-img-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

/* Post Titles */
.page-blog-list .blog-post-title {
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.page-blog-list .blog-post-title:hover {
    color: #4338ca;
}

/* Meta Items */
.page-blog-list .blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

.page-blog-list .blog-read-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.2);
    padding: 3px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.page-blog-list .blog-list-card .blog-read-time {
    color: #6366f1;
    background: rgba(99,102,241,0.08);
}

.page-blog-list .blog-date-chip {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}

.page-blog-list .blog-bookmark-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.page-blog-list .blog-bookmark-btn:hover {
    color: #f59e0b;
    transform: scale(1.15);
}

/* Pagination */
.page-blog-list .blog-pagination .page-link {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px !important;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    margin: 0 3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-blog-list .blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.page-blog-list .blog-pagination .page-link:hover {
    background: rgba(99,102,241,0.06);
    color: #4338ca;
    border-color: rgba(99,102,241,0.2);
}

/* Sidebar Cards */
.page-blog-list .blog-sidebar-card {
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 14px !important;
}

.page-blog-list .blog-sidebar-card::before { display: none !important; }

.page-blog-list .blog-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}

.page-blog-list .blog-sidebar-title svg {
    color: #6366f1;
}

/* Category List */
.page-blog-list .blog-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-blog-list .blog-category-item:hover {
    background: rgba(99,102,241,0.04);
    color: #4338ca;
}

.page-blog-list .blog-category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.page-blog-list .blog-category-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(0,0,0,0.04);
    padding: 2px 10px;
    border-radius: 12px;
}

/* Trending Posts */
.page-blog-list .blog-trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.page-blog-list .blog-trending-item:last-child { border-bottom: none; }

.page-blog-list .blog-trending-item:hover h6 { color: #4338ca; }

.page-blog-list .blog-trending-rank {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 2px;
}

/* Tags */
.page-blog-list .blog-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(99,102,241,0.06);
    color: #4338ca;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.page-blog-list .blog-tag:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.15);
    color: #3730a3;
    transform: translateY(-1px);
}

/* Newsletter CTA */
.page-blog-list .blog-newsletter-card {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    position: relative;
    overflow: hidden !important;
}

.page-blog-list .blog-newsletter-card::before { display: none !important; }

.page-blog-list .blog-newsletter-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
}

.page-blog-list .blog-newsletter-orb-1 {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.3);
    top: -20px; right: -10px;
    animation: authOrbFloat 6s ease-in-out infinite;
}

.page-blog-list .blog-newsletter-orb-2 {
    width: 60px; height: 60px;
    background: rgba(168,85,247,0.3);
    bottom: -15px; left: -10px;
    animation: authOrbFloat 6s ease-in-out infinite -3s;
}

.page-blog-list .blog-newsletter-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(8px);
}

.page-blog-list .blog-newsletter-input {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
}

.page-blog-list .blog-newsletter-input::placeholder { color: rgba(255,255,255,0.4) !important; }

.page-blog-list .blog-newsletter-input:focus {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.3) !important;
    box-shadow: none !important;
}

.page-blog-list .blog-newsletter-btn {
    background: rgba(255,255,255,0.18) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.page-blog-list .blog-newsletter-btn:hover {
    background: rgba(255,255,255,0.28) !important;
}

/* Author List */
.page-blog-list .blog-author-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.page-blog-list .blog-author-item:last-child { border-bottom: none; }

.page-blog-list .blog-author-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #f59e0b;
    background: rgba(245,158,11,0.08);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

/* Dark mode: Blog List */
.dark-mode.page-blog-list .blog-hero,
[data-theme="dark"].page-blog-list .blog-hero {
    background: linear-gradient(135deg, #0f0e2a 0%, #1a1744 40%, #272366 70%, #3730a3 100%) !important;
}

.dark-mode.page-blog-list .blog-hero-badge,
[data-theme="dark"].page-blog-list .blog-hero-badge {
    background: rgba(99,102,241,0.2);
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-hero-title,
[data-theme="dark"].page-blog-list .blog-hero-title {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.page-blog-list .blog-hero-stat-value,
[data-theme="dark"].page-blog-list .blog-hero-stat-value {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.page-blog-list .blog-filter-card,
[data-theme="dark"].page-blog-list .blog-filter-card {
    border-color: rgba(255,255,255,0.06) !important;
}

.dark-mode.page-blog-list .blog-filter-btn,
[data-theme="dark"].page-blog-list .blog-filter-btn {
    color: #94a3b8;
}

.dark-mode.page-blog-list .blog-filter-btn:hover,
[data-theme="dark"].page-blog-list .blog-filter-btn:hover {
    background: rgba(99,102,241,0.08);
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-filter-search,
[data-theme="dark"].page-blog-list .blog-filter-search {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
}

.dark-mode.page-blog-list .blog-filter-search .form-control,
[data-theme="dark"].page-blog-list .blog-filter-search .form-control {
    color: #e2e8f0;
}

.dark-mode.page-blog-list .blog-sort-btn,
[data-theme="dark"].page-blog-list .blog-sort-btn {
    border-color: rgba(255,255,255,0.08);
    color: #94a3b8;
}

.dark-mode.page-blog-list .blog-featured-card,
[data-theme="dark"].page-blog-list .blog-featured-card {
    border-color: rgba(255,255,255,0.06) !important;
}

.dark-mode.page-blog-list .blog-list-card,
[data-theme="dark"].page-blog-list .blog-list-card {
    border-color: rgba(255,255,255,0.06) !important;
}

.dark-mode.page-blog-list .blog-list-card:hover,
[data-theme="dark"].page-blog-list .blog-list-card:hover {
    border-color: rgba(99,102,241,0.15) !important;
}

.dark-mode.page-blog-list .blog-post-title,
[data-theme="dark"].page-blog-list .blog-post-title {
    color: #e2e8f0;
}

.dark-mode.page-blog-list .blog-post-title:hover,
[data-theme="dark"].page-blog-list .blog-post-title:hover {
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-list-card .blog-read-time,
[data-theme="dark"].page-blog-list .blog-list-card .blog-read-time {
    background: rgba(99,102,241,0.12);
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-sidebar-card,
[data-theme="dark"].page-blog-list .blog-sidebar-card {
    border-color: rgba(255,255,255,0.06) !important;
}

.dark-mode.page-blog-list .blog-sidebar-title,
[data-theme="dark"].page-blog-list .blog-sidebar-title {
    color: #e2e8f0;
}

.dark-mode.page-blog-list .blog-sidebar-title svg,
[data-theme="dark"].page-blog-list .blog-sidebar-title svg {
    color: #818cf8;
}

.dark-mode.page-blog-list .blog-category-item,
[data-theme="dark"].page-blog-list .blog-category-item {
    color: #cbd5e1;
}

.dark-mode.page-blog-list .blog-category-item:hover,
[data-theme="dark"].page-blog-list .blog-category-item:hover {
    background: rgba(99,102,241,0.06);
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-category-count,
[data-theme="dark"].page-blog-list .blog-category-count {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}

.dark-mode.page-blog-list .blog-trending-item,
[data-theme="dark"].page-blog-list .blog-trending-item {
    border-bottom-color: rgba(255,255,255,0.04);
}

.dark-mode.page-blog-list .blog-trending-item:hover h6,
[data-theme="dark"].page-blog-list .blog-trending-item:hover h6 {
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-trending-rank,
[data-theme="dark"].page-blog-list .blog-trending-rank {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode.page-blog-list .blog-tag,
[data-theme="dark"].page-blog-list .blog-tag {
    background: rgba(99,102,241,0.08);
    color: #a5b4fc;
}

.dark-mode.page-blog-list .blog-tag:hover,
[data-theme="dark"].page-blog-list .blog-tag:hover {
    background: rgba(99,102,241,0.15);
    color: #c7d2fe;
}

.dark-mode.page-blog-list .blog-pagination .page-link,
[data-theme="dark"].page-blog-list .blog-pagination .page-link {
    border-color: rgba(255,255,255,0.06);
    color: #94a3b8;
}

.dark-mode.page-blog-list .blog-pagination .page-link:hover,
[data-theme="dark"].page-blog-list .blog-pagination .page-link:hover {
    background: rgba(99,102,241,0.08);
    color: #a5b4fc;
    border-color: rgba(99,102,241,0.15);
}

.dark-mode.page-blog-list .blog-newsletter-card,
[data-theme="dark"].page-blog-list .blog-newsletter-card {
    background: linear-gradient(135deg, #272366 0%, #3730a3 50%, #4c1d95 100%) !important;
}

.dark-mode.page-blog-list .blog-author-item,
[data-theme="dark"].page-blog-list .blog-author-item {
    border-bottom-color: rgba(255,255,255,0.04);
}

.dark-mode.page-blog-list .blog-bookmark-btn,
[data-theme="dark"].page-blog-list .blog-bookmark-btn {
    color: #475569;
}

.dark-mode.page-blog-list .blog-bookmark-btn:hover,
[data-theme="dark"].page-blog-list .blog-bookmark-btn:hover {
    color: #f59e0b;
}

/* Responsive: Blog List */
@media (max-width: 991.98px) {
    .page-blog-list .blog-hero-title { font-size: 1.5rem; }
    .page-blog-list .blog-filter-search { display: none; }
    .page-blog-list .blog-featured-gradient { height: 200px; }
}

@media (max-width: 767.98px) {
    .page-blog-list .blog-list-gradient { min-height: 160px !important; }
    .page-blog-list .blog-hero-title { font-size: 1.3rem; }
    .page-blog-list .blog-filter-tabs { gap: 4px !important; }
    .page-blog-list .blog-filter-btn { padding: 5px 10px; font-size: 0.78rem; }
}

@media (max-width: 575.98px) {
    .page-blog-list .blog-hero .card-body { padding: 1.5rem 1rem !important; }
    .page-blog-list .blog-hero-title { font-size: 1.2rem; }
}


/* ===========================================
   Page: app-calendar
   ========================================== */
/* ============================================================
           CELESTIAL PLANNER - Premium Glassmorphic Calendar Theme
           A cosmic-inspired design system with layered glass effects,
           gradient accents, and celestial animations.
           ============================================================ */

        /* -------------------------------------------------------
           1. KEYFRAME ANIMATIONS
           ------------------------------------------------------- */
        @keyframes calendarFadeIn {
            0% {
                opacity: 0;
                transform: translateY(18px) scale(0.98);
            }
            60% {
                opacity: 1;
                transform: translateY(-3px) scale(1.005);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes eventPulse {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.45);
            }
            50% {
                box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
            }
        }

        @keyframes dotPulse {
            0%, 100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.6);
                opacity: 0.6;
            }
        }

        @keyframes shimmerSlide {
            0% {
                background-position: -200% center;
            }
            100% {
                background-position: 200% center;
            }
        }

        @keyframes borderGlow {
            0%, 100% {
                opacity: 0.5;
            }
            50% {
                opacity: 1;
            }
        }

        @keyframes floatSubtle {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-3px);
            }
        }

        /* -------------------------------------------------------
           2. PAGE-LEVEL & CARD GLASSMORPHISM
           ------------------------------------------------------- */
        .page-calendar .col-xl-3 > .card, .page-calendar .col-xl-9 > .card {
            background: rgba(255, 255, 255, 0.6) !important;
            backdrop-filter: blur(20px) saturate(1.8) !important;
            -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
            border: 1px solid rgba(255, 255, 255, 0.45) !important;
            border-radius: 18px !important;
            box-shadow:
                0 4px 24px rgba(99, 102, 241, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
            position: relative;
            overflow: hidden;
            animation: calendarFadeIn 0.6s ease-out both;
        }

        .page-calendar .col-xl-3 > .card:nth-child(1) { animation-delay: 0.08s; }
        .page-calendar .col-xl-3 > .card:nth-child(2), .page-calendar .col-xl-3 > .card.mt-4 { animation-delay: 0.18s; }
        .page-calendar .col-xl-9 > .card { animation-delay: 0.28s; }

        /* Gradient border accent via ::before */
        .page-calendar .col-xl-3 > .card::before, .page-calendar .col-xl-9 > .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #6366F1, #8B5CF6, #A78BFA, #6366F1);
            background-size: 200% 100%;
            animation: shimmerSlide 4s linear infinite;
            border-radius: 18px 18px 0 0;
            z-index: 2;
        }

        .page-calendar .col-xl-3 > .card .card-header, .page-calendar .col-xl-9 > .card .card-header {
            background: transparent !important;
            border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
            padding: 1.15rem 1.35rem !important;
        }

        .page-calendar .col-xl-3 > .card .card-title, .page-calendar .col-xl-9 > .card .card-title {
            font-weight: 700 !important;
            letter-spacing: -0.01em !important;
            background: linear-gradient(135deg, #4F46E5, #7C3AED) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* -------------------------------------------------------
           3. UPCOMING EVENTS SIDEBAR
           ------------------------------------------------------- */
        .page-calendar .col-xl-3 > .card:first-child .card-body {
            padding: 1rem 1.35rem !important;
        }

        .page-calendar .col-xl-3 > .card:first-child .list-unstyled li {
            padding: 0.65rem 0.85rem !important;
            border-radius: 12px !important;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
            margin-bottom: 0.35rem !important;
            position: relative;
        }

        .page-calendar .col-xl-3 > .card:first-child .list-unstyled li:hover {
            background: rgba(99, 102, 241, 0.07) !important;
            box-shadow: 0 2px 16px rgba(99, 102, 241, 0.12) !important;
            transform: translateX(4px);
        }

        .page-calendar .col-xl-3 > .card:first-child .list-unstyled li h6 {
            font-weight: 600 !important;
            font-size: 0.875rem !important;
            transition: color 0.25s ease !important;
        }

        .page-calendar .col-xl-3 > .card:first-child .list-unstyled li:hover h6 {
            color: #4F46E5 !important;
        }

        /* Event dot styling with pulse on hover */
        .page-calendar .col-xl-3 .dot {
            width: 10px !important;
            height: 10px !important;
            min-width: 10px !important;
            border-radius: 50% !important;
            display: inline-block !important;
            transition: all 0.3s ease !important;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.0);
        }

        .page-calendar .col-xl-3 .list-unstyled li:hover .dot {
            animation: dotPulse 1.2s ease-in-out infinite !important;
        }

        .page-calendar .col-xl-3 .list-unstyled li:hover .dot.bg-primary {
            box-shadow: 0 0 10px rgba(99, 102, 241, 0.5) !important;
        }
        .page-calendar .col-xl-3 .list-unstyled li:hover .dot.bg-danger {
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important;
        }
        .page-calendar .col-xl-3 .list-unstyled li:hover .dot.bg-success {
            box-shadow: 0 0 10px rgba(34, 197, 94, 0.5) !important;
        }
        .page-calendar .col-xl-3 .list-unstyled li:hover .dot.bg-warning {
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.5) !important;
        }
        .page-calendar .col-xl-3 .list-unstyled li:hover .dot.bg-purple, .page-calendar .col-xl-3 .list-unstyled li:hover .dot[style*="8B5CF6"] {
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.5) !important;
        }

        /* -------------------------------------------------------
           4. EVENT CATEGORIES - GLASS BADGES
           ------------------------------------------------------- */
        .page-calendar .col-xl-3 > .card.mt-4 .card-body .d-flex, .page-calendar .col-xl-3 > .card:last-child .card-body .d-flex {
            padding: 0.55rem 0.75rem !important;
            border-radius: 10px !important;
            transition: all 0.25s ease !important;
        }

        .page-calendar .col-xl-3 > .card.mt-4 .card-body .d-flex:hover, .page-calendar .col-xl-3 > .card:last-child .card-body .d-flex:hover {
            background: rgba(99, 102, 241, 0.05) !important;
        }

        .page-calendar .col-xl-3 .badge {
            font-weight: 600 !important;
            font-size: 0.75rem !important;
            padding: 0.35em 0.75em !important;
            backdrop-filter: blur(8px) !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            transition: all 0.3s ease !important;
        }

        .page-calendar .col-xl-3 .badge.bg-primary {
            background: rgba(99, 102, 241, 0.85) !important;
            box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3) !important;
        }
        .page-calendar .col-xl-3 .badge.bg-primary:hover {
            box-shadow: 0 4px 18px rgba(99, 102, 241, 0.5) !important;
        }

        .page-calendar .col-xl-3 .badge.bg-danger {
            background: rgba(239, 68, 68, 0.85) !important;
            box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3) !important;
        }
        .page-calendar .col-xl-3 .badge.bg-danger:hover {
            box-shadow: 0 4px 18px rgba(239, 68, 68, 0.5) !important;
        }

        .page-calendar .col-xl-3 .badge.bg-success {
            background: rgba(34, 197, 94, 0.85) !important;
            box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3) !important;
        }
        .page-calendar .col-xl-3 .badge.bg-success:hover {
            box-shadow: 0 4px 18px rgba(34, 197, 94, 0.5) !important;
        }

        .page-calendar .col-xl-3 .badge.bg-warning {
            background: rgba(245, 158, 11, 0.85) !important;
            box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3) !important;
        }
        .page-calendar .col-xl-3 .badge.bg-warning:hover {
            box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5) !important;
        }

        .page-calendar .col-xl-3 .badge[style*="8B5CF6"] {
            box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3) !important;
        }
        .page-calendar .col-xl-3 .badge[style*="8B5CF6"]:hover {
            box-shadow: 0 4px 18px rgba(139, 92, 246, 0.5) !important;
        }

        /* -------------------------------------------------------
           5. FULLCALENDAR CONTAINER
           ------------------------------------------------------- */
        .page-calendar .fc {
            border-radius: 14px !important;
            overflow: hidden;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
        }

        .page-calendar .fc .fc-scrollgrid {
            border: none !important;
        }

        .page-calendar .fc .fc-scrollgrid td, .page-calendar .fc .fc-scrollgrid th {
            border-color: rgba(99, 102, 241, 0.08) !important;
        }

        .page-calendar .fc .fc-scrollgrid-section > td {
            border: none !important;
        }

        /* -------------------------------------------------------
           6. TOOLBAR & TITLE
           ------------------------------------------------------- */
        .page-calendar .fc .fc-toolbar {
            padding: 0.5rem 0 1rem 0 !important;
            margin-bottom: 0.75rem !important;
            gap: 0.5rem;
        }

        .page-calendar .fc .fc-toolbar-title {
            font-size: 1.45rem !important;
            font-weight: 800 !important;
            letter-spacing: -0.025em !important;
            background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #A78BFA 100%) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* -------------------------------------------------------
           7. FC BUTTONS - GLASS PILL STYLE
           ------------------------------------------------------- */
        .page-calendar .fc .fc-button-primary {
            background: rgba(99, 102, 241, 0.1) !important;
            border: 1px solid rgba(99, 102, 241, 0.2) !important;
            color: #4F46E5 !important;
            border-radius: 50px !important;
            padding: 0.4rem 1rem !important;
            font-weight: 600 !important;
            font-size: 0.82rem !important;
            text-transform: capitalize !important;
            backdrop-filter: blur(8px) !important;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08) !important;
            letter-spacing: 0.01em !important;
        }

        .page-calendar .fc .fc-button-primary:hover {
            background: rgba(99, 102, 241, 0.18) !important;
            border-color: rgba(99, 102, 241, 0.35) !important;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.18) !important;
            transform: translateY(-1px);
        }

        .page-calendar .fc .fc-button-primary:focus {
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
        }

        .page-calendar .fc .fc-button-primary:not(:disabled):active, .page-calendar .fc .fc-button-primary.fc-button-active {
            background: linear-gradient(135deg, #4F46E5, #7C3AED) !important;
            color: #ffffff !important;
            border-color: transparent !important;
            box-shadow:
                0 4px 18px rgba(99, 102, 241, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        }

        .page-calendar .fc .fc-button-group {
            gap: 4px !important;
            border-radius: 50px;
            padding: 3px;
            background: rgba(99, 102, 241, 0.04);
        }

        .page-calendar .fc .fc-button-group > .fc-button {
            border-radius: 50px !important;
            margin: 0 !important;
        }

        .page-calendar .fc .fc-prev-button, .page-calendar .fc .fc-next-button {
            width: 36px !important;
            height: 36px !important;
            padding: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .page-calendar .fc .fc-today-button {
            text-transform: uppercase !important;
            font-size: 0.72rem !important;
            letter-spacing: 0.08em !important;
            font-weight: 700 !important;
        }

        .page-calendar .fc .fc-today-button:disabled {
            opacity: 0.45 !important;
        }

        /* -------------------------------------------------------
           8. TABLE HEADER (DAY NAMES)
           ------------------------------------------------------- */
        .page-calendar .fc .fc-col-header-cell {
            background: rgba(99, 102, 241, 0.03) !important;
            border-bottom: 2px solid rgba(99, 102, 241, 0.1) !important;
            padding: 0.75rem 0 !important;
        }

        .page-calendar .fc .fc-col-header-cell-cushion {
            text-transform: uppercase !important;
            letter-spacing: 0.1em !important;
            font-size: 0.7rem !important;
            font-weight: 700 !important;
            color: #94A3B8 !important;
            text-decoration: none !important;
            padding: 0.45rem 0 !important;
        }

        /* -------------------------------------------------------
           9. DAY CELLS
           ------------------------------------------------------- */
        .page-calendar .fc .fc-daygrid-day {
            transition: all 0.25s ease !important;
            position: relative;
        }

        .page-calendar .fc .fc-daygrid-day:hover {
            background: rgba(99, 102, 241, 0.04) !important;
            z-index: 1;
        }

        .page-calendar .fc .fc-daygrid-day:hover::after {
            content: '';
            position: absolute;
            inset: 2px;
            border-radius: 10px;
            background: rgba(99, 102, 241, 0.03);
            backdrop-filter: blur(4px);
            pointer-events: none;
            z-index: -1;
        }

        .page-calendar .fc .fc-daygrid-day-number {
            font-weight: 500 !important;
            font-size: 0.875rem !important;
            color: #475569 !important;
            padding: 0.5rem 0.65rem !important;
            text-decoration: none !important;
            transition: color 0.2s ease !important;
        }

        .page-calendar .fc .fc-daygrid-day:hover .fc-daygrid-day-number {
            color: #4F46E5 !important;
        }

        .page-calendar .fc .fc-day-other .fc-daygrid-day-number {
            color: #CBD5E1 !important;
        }

        /* -------------------------------------------------------
           10. TODAY INDICATOR
           ------------------------------------------------------- */
        .page-calendar .fc .fc-day-today {
            background: rgba(99, 102, 241, 0.06) !important;
            position: relative;
        }

        .page-calendar .fc .fc-day-today::before {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: 10px;
            border: 1.5px solid rgba(99, 102, 241, 0.2);
            pointer-events: none;
            z-index: 1;
            animation: borderGlow 3s ease-in-out infinite;
        }

        .page-calendar .fc .fc-day-today .fc-daygrid-day-number {
            color: #4F46E5 !important;
            font-weight: 700 !important;
            position: relative;
        }

        .page-calendar .fc .fc-day-today .fc-daygrid-day-number::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            width: 5px;
            height: 5px;
            background: #6366F1;
            border-radius: 50%;
            animation: eventPulse 2s ease-in-out infinite;
        }

        /* -------------------------------------------------------
           11. EVENTS - GLASS PILL WITH LEFT ACCENT
           ------------------------------------------------------- */
        .page-calendar .fc .fc-event, .page-calendar .fc .fc-daygrid-event {
            border: none !important;
            border-radius: 8px !important;
            padding: 3px 8px 3px 12px !important;
            font-size: 0.78rem !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
            position: relative;
            overflow: hidden;
            margin-bottom: 2px !important;
            backdrop-filter: blur(6px) !important;
        }

        .page-calendar .fc .fc-event::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: inherit;
            border-radius: 4px 0 0 4px;
            filter: brightness(0.8) saturate(1.4);
        }

        .page-calendar .fc .fc-event:hover {
            transform: translateY(-2px) scale(1.02) !important;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
            z-index: 10 !important;
        }

        .page-calendar .fc .fc-daygrid-event-dot {
            display: none !important;
        }

        .page-calendar .fc .fc-event-title {
            font-weight: 600 !important;
            letter-spacing: 0.01em !important;
        }

        .page-calendar .fc .fc-event-time {
            font-weight: 500 !important;
            opacity: 0.85;
            margin-right: 4px !important;
        }

        .page-calendar .fc .fc-h-event {
            border: none !important;
        }

        .page-calendar .fc .fc-daygrid-block-event .fc-event-time, .page-calendar .fc .fc-daygrid-block-event .fc-event-title {
            padding: 1px 0 !important;
        }

        /* -------------------------------------------------------
           12. MORE LINK
           ------------------------------------------------------- */
        .page-calendar .fc .fc-daygrid-more-link {
            color: #6366F1 !important;
            font-weight: 700 !important;
            font-size: 0.75rem !important;
            text-decoration: none !important;
            padding: 2px 8px !important;
            border-radius: 50px !important;
            background: rgba(99, 102, 241, 0.08) !important;
            transition: all 0.25s ease !important;
        }

        .page-calendar .fc .fc-daygrid-more-link:hover {
            background: rgba(99, 102, 241, 0.16) !important;
            box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2) !important;
        }

        /* -------------------------------------------------------
           13. WEEK & DAY VIEWS
           ------------------------------------------------------- */
        .page-calendar .fc .fc-timegrid-slot {
            height: 3rem !important;
            border-color: rgba(99, 102, 241, 0.06) !important;
        }

        .page-calendar .fc .fc-timegrid-slot-label-cushion {
            font-size: 0.72rem !important;
            font-weight: 600 !important;
            color: #94A3B8 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.04em !important;
        }

        .page-calendar .fc .fc-timegrid-now-indicator-line {
            border-color: #EF4444 !important;
            border-width: 2px !important;
        }

        .page-calendar .fc .fc-timegrid-now-indicator-arrow {
            border-color: #EF4444 !important;
        }

        .page-calendar .fc .fc-timegrid-event {
            border-radius: 8px !important;
            border-left: 4px solid rgba(0, 0, 0, 0.15) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        }

        /* -------------------------------------------------------
           14. CUSTOM SCROLLBAR
           ------------------------------------------------------- */
        .page-calendar .fc .fc-scroller::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        .page-calendar .fc .fc-scroller::-webkit-scrollbar-track {
            background: rgba(99, 102, 241, 0.04);
            border-radius: 10px;
        }

        .page-calendar .fc .fc-scroller::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.2);
            border-radius: 10px;
            transition: background 0.3s;
        }

        .page-calendar .fc .fc-scroller::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.4);
        }

        .page-calendar .fc .fc-scroller {
            scrollbar-width: thin;
            scrollbar-color: rgba(99, 102, 241, 0.2) rgba(99, 102, 241, 0.04);
        }

        /* -------------------------------------------------------
           15. POPOVER
           ------------------------------------------------------- */
        .page-calendar .fc .fc-popover {
            background: rgba(255, 255, 255, 0.92) !important;
            backdrop-filter: blur(20px) !important;
            border: 1px solid rgba(99, 102, 241, 0.15) !important;
            border-radius: 14px !important;
            box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15) !important;
            overflow: hidden;
        }

        .page-calendar .fc .fc-popover-header {
            background: rgba(99, 102, 241, 0.06) !important;
            padding: 0.65rem 1rem !important;
            font-weight: 700 !important;
        }

        /* -------------------------------------------------------
           16. DARK MODE - .dark-mode OVERRIDES
           ------------------------------------------------------- */
        .dark-mode.page-calendar .col-xl-3 > .card, .dark-mode.page-calendar .col-xl-9 > .card {
            background: rgba(30, 30, 50, 0.7) !important;
            border-color: rgba(99, 102, 241, 0.18) !important;
            box-shadow:
                0 4px 30px rgba(0, 0, 0, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        }

        .dark-mode.page-calendar .col-xl-3 > .card .card-header {
            border-bottom-color: rgba(99, 102, 241, 0.15) !important;
        }

        .dark-mode.page-calendar .col-xl-3 > .card .card-title, .dark-mode.page-calendar .col-xl-9 > .card .card-title {
            background: linear-gradient(135deg, #818CF8, #C084FC) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* Dark mode event list */
        .dark-mode.page-calendar .col-xl-3 > .card:first-child .list-unstyled li:hover {
            background: rgba(99, 102, 241, 0.12) !important;
            box-shadow: 0 2px 20px rgba(99, 102, 241, 0.15) !important;
        }

        .dark-mode.page-calendar .col-xl-3 > .card:first-child .list-unstyled li h6 {
            color: #E2E8F0 !important;
        }

        .dark-mode.page-calendar .col-xl-3 > .card:first-child .list-unstyled li:hover h6 {
            color: #A5B4FC !important;
        }

        /* Dark mode badges */
        .dark-mode.page-calendar .col-xl-3 .badge.bg-primary {
            background: rgba(99, 102, 241, 0.9) !important;
            box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4) !important;
        }
        .dark-mode.page-calendar .col-xl-3 .badge.bg-danger {
            background: rgba(248, 113, 113, 0.9) !important;
            box-shadow: 0 2px 12px rgba(248, 113, 113, 0.4) !important;
        }
        .dark-mode.page-calendar .col-xl-3 .badge.bg-success {
            background: rgba(74, 222, 128, 0.9) !important;
            box-shadow: 0 2px 12px rgba(74, 222, 128, 0.4) !important;
        }
        .dark-mode.page-calendar .col-xl-3 .badge.bg-warning {
            background: rgba(251, 191, 36, 0.9) !important;
            box-shadow: 0 2px 12px rgba(251, 191, 36, 0.4) !important;
        }

        /* Dark mode category rows */
        .dark-mode.page-calendar .col-xl-3 > .card.mt-4 .card-body .d-flex:hover, .dark-mode.page-calendar .col-xl-3 > .card:last-child .card-body .d-flex:hover {
            background: rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-calendar .col-xl-3 > .card.mt-4 .card-body span:first-child, .dark-mode.page-calendar .col-xl-3 > .card:last-child .card-body span:first-child {
            color: #CBD5E1 !important;
        }

        /* Dark mode FullCalendar */
        .dark-mode.page-calendar .fc .fc-scrollgrid td, .dark-mode.page-calendar .fc .fc-scrollgrid th {
            border-color: rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-calendar .fc .fc-toolbar-title {
            background: linear-gradient(135deg, #818CF8 0%, #C084FC 50%, #E879F9 100%) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        .dark-mode.page-calendar .fc .fc-button-primary {
            background: rgba(99, 102, 241, 0.15) !important;
            border-color: rgba(99, 102, 241, 0.25) !important;
            color: #A5B4FC !important;
        }

        .dark-mode.page-calendar .fc .fc-button-primary:hover {
            background: rgba(99, 102, 241, 0.25) !important;
            border-color: rgba(99, 102, 241, 0.4) !important;
            color: #C7D2FE !important;
        }

        .dark-mode.page-calendar .fc .fc-button-primary:not(:disabled):active, .dark-mode.page-calendar .fc .fc-button-primary.fc-button-active {
            background: linear-gradient(135deg, #6366F1, #8B5CF6) !important;
            color: #ffffff !important;
            border-color: transparent !important;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4) !important;
        }

        .dark-mode.page-calendar .fc .fc-button-group {
            background: rgba(99, 102, 241, 0.06);
        }

        .dark-mode.page-calendar .fc .fc-col-header-cell {
            background: rgba(99, 102, 241, 0.06) !important;
            border-bottom-color: rgba(99, 102, 241, 0.15) !important;
        }

        .dark-mode.page-calendar .fc .fc-col-header-cell-cushion {
            color: #64748B !important;
        }

        .dark-mode.page-calendar .fc .fc-daygrid-day-number {
            color: #94A3B8 !important;
        }

        .dark-mode.page-calendar .fc .fc-daygrid-day:hover .fc-daygrid-day-number {
            color: #A5B4FC !important;
        }

        .dark-mode.page-calendar .fc .fc-daygrid-day:hover {
            background: rgba(99, 102, 241, 0.08) !important;
        }

        .dark-mode.page-calendar .fc .fc-day-other .fc-daygrid-day-number {
            color: #334155 !important;
        }

        .dark-mode.page-calendar .fc .fc-day-today {
            background: rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-calendar .fc .fc-day-today::before {
            border-color: rgba(99, 102, 241, 0.35);
        }

        .dark-mode.page-calendar .fc .fc-day-today .fc-daygrid-day-number {
            color: #A5B4FC !important;
        }

        .dark-mode.page-calendar .fc .fc-event {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        }

        .dark-mode.page-calendar .fc .fc-event:hover {
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
        }

        /* Brighter event colors in dark mode */
        .dark-mode.page-calendar .fc .fc-event[style*="6366F1"], .dark-mode.page-calendar .fc .fc-event[style*="background-color: rgb(99, .page-calendar 102, .page-calendar 241)"] {
            background-color: #818CF8 !important;
        }

        .dark-mode.page-calendar .fc .fc-event[style*="EF4444"] {
            background-color: #F87171 !important;
        }

        .dark-mode.page-calendar .fc .fc-event[style*="22C55E"] {
            background-color: #4ADE80 !important;
        }

        .dark-mode.page-calendar .fc .fc-event[style*="F59E0B"] {
            background-color: #FBBF24 !important;
        }

        .dark-mode.page-calendar .fc .fc-event[style*="8B5CF6"] {
            background-color: #A78BFA !important;
        }

        /* Dark mode more link */
        .dark-mode.page-calendar .fc .fc-daygrid-more-link {
            color: #A5B4FC !important;
            background: rgba(99, 102, 241, 0.12) !important;
        }

        /* Dark mode time grid */
        .dark-mode.page-calendar .fc .fc-timegrid-slot {
            border-color: rgba(99, 102, 241, 0.08) !important;
        }

        .dark-mode.page-calendar .fc .fc-timegrid-slot-label-cushion {
            color: #64748B !important;
        }

        /* Dark mode popover */
        .dark-mode.page-calendar .fc .fc-popover {
            background: rgba(30, 30, 50, 0.95) !important;
            border-color: rgba(99, 102, 241, 0.2) !important;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
        }

        .dark-mode.page-calendar .fc .fc-popover-header {
            background: rgba(99, 102, 241, 0.1) !important;
            color: #E2E8F0 !important;
        }

        /* Dark mode scrollbar */
        .dark-mode.page-calendar .fc .fc-scroller::-webkit-scrollbar-track {
            background: rgba(99, 102, 241, 0.06);
        }

        .dark-mode.page-calendar .fc .fc-scroller::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.25);
        }

        .dark-mode.page-calendar .fc .fc-scroller::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.45);
        }

        .dark-mode.page-calendar .fc .fc-scroller {
            scrollbar-color: rgba(99, 102, 241, 0.25) rgba(99, 102, 241, 0.06);
        }

        /* -------------------------------------------------------
           17. RESPONSIVE ADJUSTMENTS
           ------------------------------------------------------- */
        @media (max-width: 1199.98px) {
            .page-calendar .col-xl-3 > .card, .page-calendar .col-xl-9 > .card {
                border-radius: 14px !important;
            }

            .page-calendar .col-xl-3 > .card::before, .page-calendar .col-xl-9 > .card::before {
                border-radius: 14px 14px 0 0;
            }
        }

        @media (max-width: 767.98px) {
            .page-calendar .fc .fc-toolbar {
                flex-direction: column !important;
                gap: 0.65rem !important;
            }

            .page-calendar .fc .fc-toolbar-title {
                font-size: 1.2rem !important;
            }

            .page-calendar .fc .fc-button-primary {
                padding: 0.35rem 0.75rem !important;
                font-size: 0.75rem !important;
            }

            .page-calendar .fc .fc-prev-button, .page-calendar .fc .fc-next-button {
                width: 32px !important;
                height: 32px !important;
            }

            .page-calendar .col-xl-3 > .card, .page-calendar .col-xl-9 > .card {
                border-radius: 12px !important;
                box-shadow:
                    0 2px 16px rgba(99, 102, 241, 0.06),
                    0 1px 2px rgba(0, 0, 0, 0.04) !important;
            }

            .page-calendar .col-xl-3 > .card::before, .page-calendar .col-xl-9 > .card::before {
                height: 2px;
                border-radius: 12px 12px 0 0;
            }

            .page-calendar .fc .fc-col-header-cell-cushion {
                font-size: 0.62rem !important;
                letter-spacing: 0.06em !important;
            }

            .page-calendar .fc .fc-daygrid-day-number {
                font-size: 0.78rem !important;
                padding: 0.35rem 0.45rem !important;
            }

            .page-calendar .fc .fc-event {
                font-size: 0.7rem !important;
                padding: 2px 5px 2px 9px !important;
            }
        }

        @media (max-width: 575.98px) {
            .page-calendar .fc .fc-toolbar-chunk:last-child .fc-button-group {
                flex-wrap: wrap;
                justify-content: center;
            }

            .page-calendar .fc .fc-toolbar-title {
                font-size: 1.05rem !important;
            }

            .page-calendar .col-xl-3 > .card .card-body, .page-calendar .col-xl-9 > .card .card-body {
                padding: 0.85rem !important;
            }
        }


/* ===========================================
   Page: app-chat
   ========================================== */
/* ============================================================
       LIQUID CRYSTAL MESSENGER
       A premium glassmorphic chat UI theme featuring layered
       translucency, indigo-tinted depth shadows, gradient
       accent borders, spring-physics hover transitions, and
       neon-glow dark-mode support.
       ============================================================ */

    /* ---------- keyframes ---------- */
    @keyframes messageSlideIn {
        0% {
            opacity: 0;
            transform: translateY(18px) scale(0.96);
            filter: blur(4px);
        }
        60% {
            opacity: 1;
            transform: translateY(-3px) scale(1.01);
            filter: blur(0);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes sendGlow {
        0%   { box-shadow: 0 0 6px rgba(99, 102, 241, 0.4); }
        50%  { box-shadow: 0 0 22px rgba(99, 102, 241, 0.7), 0 0 40px rgba(139, 92, 246, 0.35); }
        100% { box-shadow: 0 0 6px rgba(99, 102, 241, 0.4); }
    }

    @keyframes typingDots {
        0%, 20%  { opacity: 0.2; transform: translateY(0); }
        50%      { opacity: 1;   transform: translateY(-4px); }
        80%, 100%{ opacity: 0.2; transform: translateY(0); }
    }

    @keyframes borderGradientRotate {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    @keyframes avatarRingPulse {
        0%   { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
        70%  { box-shadow: 0 0 0 7px rgba(99, 102, 241, 0); }
        100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
    }

    @keyframes shimmerSlide {
        0%   { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }

    /* ---------- chat container ---------- */
    .page-chat .chat-container {
        position: relative !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(18px) saturate(1.6) !important;
        -webkit-backdrop-filter: blur(18px) saturate(1.6) !important;
        box-shadow:
            0 4px 6px rgba(99, 102, 241, 0.06),
            0 10px 24px rgba(99, 102, 241, 0.10),
            0 24px 48px rgba(79, 70, 229, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
        border: 1px solid rgba(199, 210, 254, 0.45) !important;
        overflow: hidden !important;
    }

    /* animated gradient border via pseudo-element */
    .page-chat .chat-container::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 18px;
        padding: 2px;
        background: linear-gradient(
            135deg,
            rgba(99, 102, 241, 0.35),
            rgba(139, 92, 246, 0.25),
            rgba(236, 72, 153, 0.18),
            rgba(99, 102, 241, 0.35)
        );
        background-size: 300% 300%;
        animation: borderGradientRotate 8s ease infinite;
        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        z-index: 1;
    }

    /* ---------- chat sidebar ---------- */
    .page-chat .chat-sidebar {
        background: linear-gradient(
            168deg,
            rgba(224, 231, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.60) 100%
        ) !important;
        backdrop-filter: blur(14px) saturate(1.4) !important;
        -webkit-backdrop-filter: blur(14px) saturate(1.4) !important;
        border-right: 1px solid rgba(165, 180, 252, 0.30) !important;
        transition: background 0.4s ease !important;
    }

    /* sidebar header / search area */
    .page-chat .chat-sidebar-header {
        background: rgba(255, 255, 255, 0.40) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(199, 210, 254, 0.35) !important;
        padding: 16px !important;
    }

    .page-chat .chat-sidebar-header .input-group {
        background: rgba(255, 255, 255, 0.50) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(165, 180, 252, 0.30) !important;
        overflow: hidden;
        transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    }

    .page-chat .chat-sidebar-header .input-group:focus-within {
        border-color: rgba(99, 102, 241, 0.50) !important;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
    }

    .page-chat .chat-sidebar-header .input-group .input-group-text {
        background: transparent !important;
        border: none !important;
        color: #6366f1 !important;
    }

    .page-chat .chat-sidebar-header .input-group .form-control {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 0.875rem !important;
    }

    /* ---------- contact list ---------- */
    .page-chat .chat-contact-list {
        padding: 8px !important;
        overflow-y: auto;
    }

    .page-chat .chat-contact-item {
        position: relative !important;
        border-radius: 12px !important;
        padding: 12px 14px !important;
        margin-bottom: 4px !important;
        background: rgba(255, 255, 255, 0.0) !important;
        cursor: pointer;
        transition:
            transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
            background 0.3s ease,
            box-shadow 0.3s ease !important;
    }

    .page-chat .chat-contact-item:hover {
        transform: translateX(6px) !important;
        background: rgba(255, 255, 255, 0.55) !important;
        box-shadow:
            0 2px 8px rgba(99, 102, 241, 0.08),
            0 4px 14px rgba(99, 102, 241, 0.06) !important;
    }

    /* active contact - indigo left accent bar */
    .page-chat .chat-contact-item.active {
        background: rgba(255, 255, 255, 0.65) !important;
        box-shadow:
            0 2px 10px rgba(99, 102, 241, 0.10),
            0 6px 20px rgba(99, 102, 241, 0.07) !important;
    }

    .page-chat .chat-contact-item.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        border-radius: 0 4px 4px 0;
        background: linear-gradient(180deg, #6366f1, #8b5cf6) !important;
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.40);
    }

    .page-chat .chat-contact-item .chat-contact-info h6 {
        font-weight: 600 !important;
        font-size: 0.875rem !important;
        color: #1e1b4b !important;
    }

    .page-chat .chat-contact-item .chat-contact-info p {
        font-size: 0.8rem !important;
        color: #6b7280 !important;
    }

    /* ---------- avatar enhancements ---------- */
    .page-chat .chat-contact-item .avatar {
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        flex-shrink: 0;
    }

    .page-chat .chat-contact-item:hover .avatar {
        transform: scale(1.10) !important;
    }

    .page-chat .chat-contact-item.active .avatar .avatar-placeholder {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.30) !important;
        animation: avatarRingPulse 2.2s ease-in-out infinite !important;
    }

    .page-chat .chat-header .avatar .avatar-placeholder {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.20) !important;
    }

    /* ---------- chat header ---------- */
    .page-chat .chat-header {
        background: rgba(255, 255, 255, 0.50) !important;
        backdrop-filter: blur(16px) saturate(1.5) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.5) !important;
        border-bottom: none !important;
        position: relative !important;
        z-index: 2;
        padding: 14px 20px !important;
    }

    /* gradient bottom border via ::after */
    .page-chat .chat-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 5%;
        width: 90%;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(99, 102, 241, 0.30) 20%,
            rgba(139, 92, 246, 0.35) 50%,
            rgba(99, 102, 241, 0.30) 80%,
            transparent
        );
    }

    .page-chat .chat-header h6 {
        font-weight: 700 !important;
        color: #1e1b4b !important;
    }

    .page-chat .chat-header-actions .btn-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.45) !important;
        border: 1px solid rgba(199, 210, 254, 0.30) !important;
        color: #6366f1 !important;
        transition: all 0.3s ease !important;
        margin-left: 6px !important;
    }

    .page-chat .chat-header-actions .btn-icon:hover {
        background: rgba(99, 102, 241, 0.10) !important;
        border-color: rgba(99, 102, 241, 0.35) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 10px rgba(99, 102, 241, 0.15) !important;
    }

    /* ---------- chat messages area ---------- */
    .page-chat .chat-messages {
        background: linear-gradient(
            180deg,
            rgba(238, 242, 255, 0.30) 0%,
            rgba(245, 243, 255, 0.20) 50%,
            rgba(255, 255, 255, 0.10) 100%
        ) !important;
        padding: 24px 20px !important;
        overflow-y: auto;
    }

    /* message slide-in animation */
    .page-chat .message-received, .page-chat .message-sent {
        animation: messageSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    }

    .page-chat .message-received:nth-child(1) { animation-delay: 0.03s !important; }
    .page-chat .message-received:nth-child(3) { animation-delay: 0.06s !important; }
    .page-chat .message-received:nth-child(5) { animation-delay: 0.09s !important; }
    .page-chat .message-sent:nth-child(2) { animation-delay: 0.04s !important; }
    .page-chat .message-sent:nth-child(4) { animation-delay: 0.07s !important; }
    .page-chat .message-sent:nth-child(6) { animation-delay: 0.10s !important; }

    /* received bubble */
    .page-chat .message-received .message-bubble {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(199, 210, 254, 0.30) !important;
        border-radius: 2px 16px 16px 16px !important;
        box-shadow:
            0 2px 6px rgba(99, 102, 241, 0.06),
            0 4px 12px rgba(99, 102, 241, 0.04) !important;
        padding: 12px 16px !important;
        color: #1e1b4b !important;
        transition: box-shadow 0.3s ease, transform 0.3s ease !important;
        max-width: 75%;
    }

    .page-chat .message-received .message-bubble:hover {
        box-shadow:
            0 4px 12px rgba(99, 102, 241, 0.10),
            0 8px 24px rgba(99, 102, 241, 0.06) !important;
        transform: translateY(-1px) !important;
    }

    .page-chat .message-received .message-bubble p {
        color: #312e81 !important;
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        margin-bottom: 4px !important;
    }

    /* sent bubble */
    .page-chat .message-sent .message-bubble {
        background: linear-gradient(
            135deg,
            #6366f1 0%,
            #7c3aed 50%,
            #8b5cf6 100%
        ) !important;
        border: none !important;
        border-radius: 16px 2px 16px 16px !important;
        box-shadow:
            0 4px 12px rgba(99, 102, 241, 0.25),
            0 8px 24px rgba(139, 92, 246, 0.18) !important;
        padding: 12px 16px !important;
        color: #ffffff !important;
        transition: box-shadow 0.3s ease, transform 0.3s ease !important;
        max-width: 75%;
    }

    .page-chat .message-sent .message-bubble:hover {
        box-shadow:
            0 6px 18px rgba(99, 102, 241, 0.35),
            0 12px 36px rgba(139, 92, 246, 0.22) !important;
        transform: translateY(-1px) !important;
    }

    .page-chat .message-sent .message-bubble p {
        color: #ffffff !important;
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        margin-bottom: 4px !important;
    }

    /* message timestamp */
    .page-chat .message-time {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        opacity: 0.55 !important;
        font-weight: 500 !important;
    }

    .page-chat .message-received .message-time {
        color: #6b7280 !important;
    }

    .page-chat .message-sent .message-time {
        color: rgba(255, 255, 255, 0.70) !important;
    }

    /* received message avatar */
    .page-chat .message-received .avatar .avatar-placeholder {
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15) !important;
    }

    /* ---------- chat input area ---------- */
    .page-chat .chat-input-area {
        background: rgba(255, 255, 255, 0.50) !important;
        backdrop-filter: blur(14px) saturate(1.4) !important;
        -webkit-backdrop-filter: blur(14px) saturate(1.4) !important;
        border-top: 1px solid rgba(199, 210, 254, 0.30) !important;
        padding: 14px 18px !important;
        gap: 10px !important;
    }

    /* pill-shaped input */
    .page-chat .chat-input-area .form-control {
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(165, 180, 252, 0.30) !important;
        border-radius: 24px !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        color: #1e1b4b !important;
        transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    }

    .page-chat .chat-input-area .form-control:focus {
        border-color: rgba(99, 102, 241, 0.45) !important;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.10) !important;
        background: rgba(255, 255, 255, 0.70) !important;
    }

    .page-chat .chat-input-area .form-control::placeholder {
        color: #9ca3af !important;
        font-style: italic;
    }

    /* attach button */
    .page-chat .chat-input-area .btn-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.45) !important;
        border: 1px solid rgba(199, 210, 254, 0.30) !important;
        color: #6366f1 !important;
        transition: all 0.3s ease !important;
        flex-shrink: 0;
    }

    .page-chat .chat-input-area .btn-icon:hover {
        background: rgba(99, 102, 241, 0.10) !important;
        border-color: rgba(99, 102, 241, 0.35) !important;
        transform: rotate(15deg) scale(1.05) !important;
    }

    /* send button gradient with glow */
    .page-chat .chat-input-area .btn-primary {
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        border: none !important;
        border-radius: 50% !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
        animation: sendGlow 3s ease-in-out infinite !important;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        flex-shrink: 0;
    }

    .page-chat .chat-input-area .btn-primary:hover {
        transform: scale(1.12) !important;
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.50) !important;
    }

    .page-chat .chat-input-area .btn-primary:active {
        transform: scale(0.95) !important;
    }

    /* ---------- custom scrollbars ---------- */
    .page-chat .chat-messages::-webkit-scrollbar, .page-chat .chat-contact-list::-webkit-scrollbar {
        width: 5px;
    }

    .page-chat .chat-messages::-webkit-scrollbar-track, .page-chat .chat-contact-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .page-chat .chat-messages::-webkit-scrollbar-thumb, .page-chat .chat-contact-list::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.18);
        border-radius: 10px;
    }

    .page-chat .chat-messages::-webkit-scrollbar-thumb:hover, .page-chat .chat-contact-list::-webkit-scrollbar-thumb:hover {
        background: rgba(99, 102, 241, 0.35);
    }

    /* Firefox scrollbar */
    .page-chat .chat-messages, .page-chat .chat-contact-list {
        scrollbar-width: thin !important;
        scrollbar-color: rgba(99, 102, 241, 0.18) transparent !important;
    }

    /* ---------- typing indicator (utility class) ---------- */
    .page-chat .typing-dots span {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #6366f1;
        margin: 0 2px;
        animation: typingDots 1.4s ease-in-out infinite;
    }

    .page-chat .typing-dots span:nth-child(2) {
        animation-delay: 0.2s;
    }

    .page-chat .typing-dots span:nth-child(3) {
        animation-delay: 0.4s;
    }

    /* ---------- shimmer decoration on chat container ---------- */
    .page-chat .chat-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.80) 25%,
            rgba(199, 210, 254, 0.60) 50%,
            rgba(255, 255, 255, 0.80) 75%,
            transparent 100%
        );
        background-size: 200% 100%;
        animation: shimmerSlide 6s linear infinite;
        z-index: 2;
        pointer-events: none;
    }

    /* ============================================================
       DARK MODE
       ============================================================ */

    /* container */
    .dark-mode.page-chat .chat-container {
        background: rgba(15, 12, 41, 0.70) !important;
        border-color: rgba(99, 102, 241, 0.25) !important;
        box-shadow:
            0 4px 6px rgba(0, 0, 0, 0.20),
            0 10px 24px rgba(99, 102, 241, 0.12),
            0 24px 48px rgba(0, 0, 0, 0.30),
            inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

    .dark-mode.page-chat .chat-container::before {
        background: linear-gradient(
            135deg,
            rgba(99, 102, 241, 0.50),
            rgba(139, 92, 246, 0.40),
            rgba(236, 72, 153, 0.30),
            rgba(99, 102, 241, 0.50)
        );
        background-size: 300% 300%;
    }

    /* sidebar */
    .dark-mode.page-chat .chat-sidebar {
        background: linear-gradient(
            168deg,
            rgba(30, 27, 75, 0.65) 0%,
            rgba(17, 14, 44, 0.70) 100%
        ) !important;
        border-right-color: rgba(99, 102, 241, 0.20) !important;
    }

    .dark-mode.page-chat .chat-sidebar-header {
        background: rgba(15, 12, 41, 0.50) !important;
        border-bottom-color: rgba(99, 102, 241, 0.18) !important;
    }

    .dark-mode.page-chat .chat-sidebar-header .input-group {
        background: rgba(30, 27, 75, 0.55) !important;
        border-color: rgba(99, 102, 241, 0.22) !important;
    }

    .dark-mode.page-chat .chat-sidebar-header .input-group .form-control {
        color: #e0e7ff !important;
    }

    .dark-mode.page-chat .chat-sidebar-header .input-group .form-control::placeholder {
        color: rgba(165, 180, 252, 0.45) !important;
    }

    /* contacts */
    .dark-mode.page-chat .chat-contact-item:hover {
        background: rgba(99, 102, 241, 0.10) !important;
        box-shadow:
            0 2px 8px rgba(99, 102, 241, 0.12),
            0 4px 14px rgba(0, 0, 0, 0.15) !important;
    }

    .dark-mode.page-chat .chat-contact-item.active {
        background: rgba(99, 102, 241, 0.12) !important;
        box-shadow:
            0 2px 10px rgba(99, 102, 241, 0.15),
            0 6px 20px rgba(0, 0, 0, 0.20) !important;
    }

    .dark-mode.page-chat .chat-contact-item.active::before {
        background: linear-gradient(180deg, #818cf8, #a78bfa) !important;
        box-shadow: 0 0 14px rgba(129, 140, 248, 0.55);
    }

    .dark-mode.page-chat .chat-contact-item .chat-contact-info h6 {
        color: #e0e7ff !important;
    }

    .dark-mode.page-chat .chat-contact-item .chat-contact-info p {
        color: rgba(165, 180, 252, 0.55) !important;
    }

    /* chat header */
    .dark-mode.page-chat .chat-header {
        background: rgba(15, 12, 41, 0.60) !important;
    }

    .dark-mode.page-chat .chat-header::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(129, 140, 248, 0.35) 20%,
            rgba(167, 139, 250, 0.40) 50%,
            rgba(129, 140, 248, 0.35) 80%,
            transparent
        );
    }

    .dark-mode.page-chat .chat-header h6 {
        color: #e0e7ff !important;
    }

    .dark-mode.page-chat .chat-header-actions .btn-icon {
        background: rgba(99, 102, 241, 0.12) !important;
        border-color: rgba(99, 102, 241, 0.22) !important;
        color: #a5b4fc !important;
    }

    .dark-mode.page-chat .chat-header-actions .btn-icon:hover {
        background: rgba(99, 102, 241, 0.22) !important;
        border-color: rgba(129, 140, 248, 0.40) !important;
        box-shadow: 0 3px 12px rgba(99, 102, 241, 0.25) !important;
    }

    /* messages area */
    .dark-mode.page-chat .chat-messages {
        background: linear-gradient(
            180deg,
            rgba(15, 12, 41, 0.25) 0%,
            rgba(30, 27, 75, 0.15) 50%,
            rgba(15, 12, 41, 0.10) 100%
        ) !important;
    }

    /* received bubble - dark */
    .dark-mode.page-chat .message-received .message-bubble {
        background: rgba(30, 27, 75, 0.60) !important;
        border-color: rgba(99, 102, 241, 0.18) !important;
        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.20),
            0 4px 12px rgba(99, 102, 241, 0.06) !important;
    }

    .dark-mode.page-chat .message-received .message-bubble p {
        color: #e0e7ff !important;
    }

    .dark-mode.page-chat .message-received .message-time {
        color: rgba(165, 180, 252, 0.50) !important;
    }

    /* sent bubble - dark (neon-boosted) */
    .dark-mode.page-chat .message-sent .message-bubble {
        background: linear-gradient(
            135deg,
            #6366f1 0%,
            #7c3aed 50%,
            #8b5cf6 100%
        ) !important;
        box-shadow:
            0 4px 16px rgba(99, 102, 241, 0.35),
            0 8px 32px rgba(139, 92, 246, 0.25),
            0 0 40px rgba(99, 102, 241, 0.10) !important;
    }

    .dark-mode.page-chat .message-sent .message-bubble:hover {
        box-shadow:
            0 6px 24px rgba(99, 102, 241, 0.45),
            0 12px 48px rgba(139, 92, 246, 0.30),
            0 0 60px rgba(99, 102, 241, 0.15) !important;
    }

    /* input area - dark */
    .dark-mode.page-chat .chat-input-area {
        background: rgba(15, 12, 41, 0.55) !important;
        border-top-color: rgba(99, 102, 241, 0.18) !important;
    }

    .dark-mode.page-chat .chat-input-area .form-control {
        background: rgba(30, 27, 75, 0.55) !important;
        border-color: rgba(99, 102, 241, 0.22) !important;
        color: #e0e7ff !important;
    }

    .dark-mode.page-chat .chat-input-area .form-control:focus {
        border-color: rgba(129, 140, 248, 0.45) !important;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
        background: rgba(30, 27, 75, 0.70) !important;
    }

    .dark-mode.page-chat .chat-input-area .form-control::placeholder {
        color: rgba(165, 180, 252, 0.40) !important;
    }

    .dark-mode.page-chat .chat-input-area .btn-icon {
        background: rgba(99, 102, 241, 0.12) !important;
        border-color: rgba(99, 102, 241, 0.22) !important;
        color: #a5b4fc !important;
    }

    .dark-mode.page-chat .chat-input-area .btn-icon:hover {
        background: rgba(99, 102, 241, 0.22) !important;
    }

    .dark-mode.page-chat .chat-input-area .btn-primary {
        background: linear-gradient(135deg, #818cf8, #a78bfa) !important;
        box-shadow: 0 4px 18px rgba(129, 140, 248, 0.40) !important;
    }

    .dark-mode.page-chat .chat-input-area .btn-primary:hover {
        box-shadow: 0 6px 24px rgba(129, 140, 248, 0.55) !important;
    }

    /* scrollbar - dark */
    .dark-mode.page-chat .chat-messages::-webkit-scrollbar-thumb, .dark-mode.page-chat .chat-contact-list::-webkit-scrollbar-thumb {
        background: rgba(129, 140, 248, 0.22);
    }

    .dark-mode.page-chat .chat-messages::-webkit-scrollbar-thumb:hover, .dark-mode.page-chat .chat-contact-list::-webkit-scrollbar-thumb:hover {
        background: rgba(129, 140, 248, 0.40);
    }

    .dark-mode.page-chat .chat-messages, .dark-mode.page-chat .chat-contact-list {
        scrollbar-color: rgba(129, 140, 248, 0.22) transparent !important;
    }

    /* avatar dark mode ring */
    .dark-mode.page-chat .chat-contact-item.active .avatar .avatar-placeholder {
        box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.35) !important;
    }

    .dark-mode.page-chat .chat-header .avatar .avatar-placeholder {
        box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25) !important;
    }

    /* shimmer in dark mode */
    .dark-mode.page-chat .chat-container::after {
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(129, 140, 248, 0.15) 25%,
            rgba(167, 139, 250, 0.20) 50%,
            rgba(129, 140, 248, 0.15) 75%,
            transparent 100%
        );
        background-size: 200% 100%;
    }

    /* ============================================================
       RESPONSIVE BREAKPOINTS
       ============================================================ */

    /* tablets and below */
    @media (max-width: 991.98px) {
        .page-chat .chat-container {
            border-radius: 12px !important;
        }

        .page-chat .chat-container::before {
            border-radius: 14px;
        }

        .page-chat .chat-sidebar {
            border-right: none !important;
            border-bottom: 1px solid rgba(165, 180, 252, 0.30) !important;
        }

        .page-chat .chat-sidebar-header {
            padding: 12px !important;
        }

        .page-chat .chat-messages {
            padding: 18px 14px !important;
        }

        .page-chat .chat-header {
            padding: 12px 16px !important;
        }

        .page-chat .chat-input-area {
            padding: 12px 14px !important;
            gap: 8px !important;
        }

        .page-chat .chat-input-area .form-control {
            padding: 8px 16px !important;
        }

        .page-chat .message-received .message-bubble, .page-chat .message-sent .message-bubble {
            max-width: 85% !important;
            padding: 10px 14px !important;
        }
    }

    /* mobile */
    @media (max-width: 767.98px) {
        .page-chat .chat-container {
            border-radius: 8px !important;
            margin: 0 -4px !important;
        }

        .page-chat .chat-container::before {
            border-radius: 10px;
            inset: -1px;
        }

        .page-chat .chat-contact-item {
            padding: 10px 12px !important;
            border-radius: 10px !important;
        }

        .page-chat .chat-contact-item:hover {
            transform: translateX(3px) !important;
        }

        .page-chat .chat-header-actions .btn-icon {
            width: 34px !important;
            height: 34px !important;
            margin-left: 4px !important;
        }

        .page-chat .chat-messages {
            padding: 14px 10px !important;
        }

        .page-chat .message-received .message-bubble, .page-chat .message-sent .message-bubble {
            max-width: 90% !important;
            padding: 9px 12px !important;
            font-size: 0.85rem !important;
        }

        .page-chat .chat-input-area {
            padding: 10px 10px !important;
            gap: 6px !important;
        }

        .page-chat .chat-input-area .btn-icon, .page-chat .chat-input-area .btn-primary {
            width: 38px !important;
            height: 38px !important;
            min-width: 38px !important;
        }

        .page-chat .chat-input-area .form-control {
            padding: 8px 14px !important;
            font-size: 0.85rem !important;
            border-radius: 20px !important;
        }
    }

    /* small mobile */
    @media (max-width: 479.98px) {
        .page-chat .chat-container {
            border-radius: 6px !important;
        }

        .page-chat .chat-sidebar-header {
            padding: 10px !important;
        }

        .page-chat .chat-contact-item {
            padding: 8px 10px !important;
        }

        .page-chat .chat-header {
            padding: 10px 12px !important;
        }

        .page-chat .chat-header-actions .btn-icon {
            width: 32px !important;
            height: 32px !important;
            border-radius: 8px !important;
        }

        .page-chat .message-received .message-bubble, .page-chat .message-sent .message-bubble {
            max-width: 92% !important;
            border-radius: 2px 12px 12px 12px !important;
        }

        .page-chat .message-sent .message-bubble {
            border-radius: 12px 2px 12px 12px !important;
        }
    }

    /* large desktops - extra breathing room */
    @media (min-width: 1400px) {
        .page-chat .chat-container {
            border-radius: 20px !important;
        }

        .page-chat .chat-container::before {
            border-radius: 22px;
        }

        .page-chat .chat-messages {
            padding: 28px 28px !important;
        }

        .page-chat .chat-header {
            padding: 16px 24px !important;
        }

        .page-chat .chat-input-area {
            padding: 16px 24px !important;
        }

        .page-chat .message-received .message-bubble, .page-chat .message-sent .message-bubble {
            max-width: 65% !important;
        }
    }


/* ===========================================
   Page: app-contacts
   ========================================== */
/* ============================================================
           HOLOGRAPHIC CONTACTS - Premium Glassmorphic Theme
           ============================================================ */

        /* --- Keyframe Animations --- */
        @keyframes cardFloat {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-6px);
            }
        }

        @keyframes borderShimmer {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px) scale(0.97);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes avatarPulseGlow {
            0%, 100% {
                box-shadow: 0 0 12px rgba(99, 102, 241, 0.35),
                            0 0 24px rgba(99, 102, 241, 0.15);
            }
            50% {
                box-shadow: 0 0 20px rgba(99, 102, 241, 0.55),
                            0 0 40px rgba(99, 102, 241, 0.25);
            }
        }

        @keyframes shimmerSlide {
            0% {
                background-position: -200% center;
            }
            100% {
                background-position: 200% center;
            }
        }

        @keyframes holoGradient {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }

        /* --- Contact Card Base --- */
        .page-contacts .contact-card {
            position: relative !important;
            background: rgba(255, 255, 255, 0.6) !important;
            backdrop-filter: blur(20px) saturate(1.8) !important;
            -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
            border: 1px solid rgba(255, 255, 255, 0.45) !important;
            border-radius: 20px !important;
            overflow: visible !important;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                        box-shadow 0.4s ease,
                        border-color 0.3s ease !important;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.06),
                        0 1px 4px rgba(0, 0, 0, 0.04) !important;
            z-index: 1 !important;
        }

        .page-contacts .contact-card .card-body {
            position: relative !important;
            z-index: 2 !important;
            border-radius: 20px !important;
            overflow: hidden !important;
        }

        /* --- Rotating Border Gradient Shimmer (::before) --- */
        .page-contacts .contact-card::before {
            content: '' !important;
            position: absolute !important;
            top: -2px !important;
            left: -2px !important;
            right: -2px !important;
            bottom: -2px !important;
            width: 100%;
            height: 100%;
            background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #ec4899, #f43f5e, #f97316, #eab308, #22c55e, #06b6d4, #6366f1) !important;
            border-radius: 22px !important;
            z-index: -1 !important;
            opacity: 0 !important;
            transition: opacity 0.4s ease !important;
            animation: borderShimmer 4s linear infinite !important;
        }

        .page-contacts .contact-card::after {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            background: rgba(255, 255, 255, 0.6) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
            border-radius: 20px !important;
            z-index: 0 !important;
        }

        .page-contacts .contact-card:hover {
            transform: translateY(-6px) !important;
            box-shadow: 0 12px 40px rgba(99, 102, 241, 0.18),
                        0 4px 16px rgba(139, 92, 246, 0.12),
                        0 0 0 1px rgba(99, 102, 241, 0.1) !important;
            border-color: transparent !important;
        }

        .page-contacts .contact-card:hover::before {
            opacity: 0.7 !important;
        }

        /* --- Card Stagger Fade-In Animation (nth-child) --- */
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(1) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.0s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(2) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.06s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(3) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.12s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(4) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.18s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(5) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.24s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(6) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.30s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(7) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.36s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(8) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.42s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(9) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.48s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(10) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.54s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(11) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.60s !important;
        }
        .page-contacts .row.g-4 > [class*="col-"]:nth-child(12) .contact-card {
            animation: fadeInUp 0.6s ease both !important;
            animation-delay: 0.66s !important;
        }

        /* --- Avatar: Ring Glow + Float + Scale --- */
        .page-contacts .contact-card .avatar {
            position: relative !important;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                        box-shadow 0.4s ease !important;
            z-index: 3 !important;
        }

        .page-contacts .contact-card .avatar .avatar-placeholder {
            border-radius: 50% !important;
            position: relative !important;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 16px rgba(99, 102, 241, 0.25) !important;
            transition: box-shadow 0.4s ease !important;
        }

        /* Avatar glow colors matching bg classes */
        .page-contacts .contact-card .avatar .avatar-placeholder.bg-primary {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 18px rgba(99, 102, 241, 0.4),
                        0 0 36px rgba(99, 102, 241, 0.15) !important;
        }
        .page-contacts .contact-card .avatar .avatar-placeholder.bg-success {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 18px rgba(34, 197, 94, 0.4),
                        0 0 36px rgba(34, 197, 94, 0.15) !important;
        }
        .page-contacts .contact-card .avatar .avatar-placeholder.bg-warning {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 18px rgba(234, 179, 8, 0.4),
                        0 0 36px rgba(234, 179, 8, 0.15) !important;
        }
        .page-contacts .contact-card .avatar .avatar-placeholder.bg-info {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 18px rgba(6, 182, 212, 0.4),
                        0 0 36px rgba(6, 182, 212, 0.15) !important;
        }
        .page-contacts .contact-card .avatar .avatar-placeholder.bg-danger {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 18px rgba(239, 68, 68, 0.4),
                        0 0 36px rgba(239, 68, 68, 0.15) !important;
        }
        .page-contacts .contact-card .avatar .avatar-placeholder.bg-secondary {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
                        0 0 18px rgba(107, 114, 128, 0.4),
                        0 0 36px rgba(107, 114, 128, 0.15) !important;
        }

        /* Float animation on avatar */
        .page-contacts .contact-card .avatar {
            animation: cardFloat 4s ease-in-out infinite !important;
        }

        /* Scale avatar on card hover */
        .page-contacts .contact-card:hover .avatar {
            transform: scale(1.08) !important;
        }

        .page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-primary {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8),
                        0 0 24px rgba(99, 102, 241, 0.6),
                        0 0 48px rgba(99, 102, 241, 0.25) !important;
        }
        .page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-success {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8),
                        0 0 24px rgba(34, 197, 94, 0.6),
                        0 0 48px rgba(34, 197, 94, 0.25) !important;
        }
        .page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-warning {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8),
                        0 0 24px rgba(234, 179, 8, 0.6),
                        0 0 48px rgba(234, 179, 8, 0.25) !important;
        }
        .page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-info {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8),
                        0 0 24px rgba(6, 182, 212, 0.6),
                        0 0 48px rgba(6, 182, 212, 0.25) !important;
        }
        .page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-danger {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8),
                        0 0 24px rgba(239, 68, 68, 0.6),
                        0 0 48px rgba(239, 68, 68, 0.25) !important;
        }
        .page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-secondary {
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8),
                        0 0 24px rgba(107, 114, 128, 0.6),
                        0 0 48px rgba(107, 114, 128, 0.25) !important;
        }

        /* --- Name: Gradient Text on Hover --- */
        .page-contacts .contact-card h6 {
            font-weight: 700 !important;
            font-size: 1rem !important;
            letter-spacing: 0.01em !important;
            transition: background 0.3s ease, -webkit-background-clip 0.3s ease,
                        color 0.3s ease !important;
            position: relative !important;
            z-index: 3 !important;
        }

        .page-contacts .contact-card:hover h6 {
            background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* --- Role / Company: Clean Typography --- */
        .page-contacts .contact-card p.text-muted {
            letter-spacing: 0.03em !important;
            font-weight: 400 !important;
            position: relative !important;
            z-index: 3 !important;
            transition: color 0.3s ease !important;
        }

        .page-contacts .contact-card p.text-muted.mb-1 {
            font-size: 0.8rem !important;
            text-transform: uppercase !important;
            letter-spacing: 0.08em !important;
            font-weight: 500 !important;
            opacity: 0.75 !important;
        }

        .page-contacts .contact-card p.text-muted.mb-3 {
            font-size: 0.78rem !important;
            opacity: 0.6 !important;
        }

        /* --- Contact Info: Email Glow + Phone Icon --- */
        .page-contacts .contact-info {
            position: relative !important;
            z-index: 3 !important;
            padding: 10px 0 !important;
            border-top: 1px solid rgba(99, 102, 241, 0.08) !important;
            border-bottom: 1px solid rgba(99, 102, 241, 0.08) !important;
        }

        .page-contacts .contact-info a {
            text-decoration: none !important;
            transition: color 0.3s ease, text-shadow 0.3s ease !important;
            font-weight: 500 !important;
        }

        .page-contacts .contact-info a:hover {
            color: #6366f1 !important;
            text-shadow: 0 0 12px rgba(99, 102, 241, 0.4),
                         0 0 24px rgba(99, 102, 241, 0.15) !important;
        }

        .page-contacts .contact-info span.text-muted {
            transition: color 0.3s ease !important;
        }

        .page-contacts .contact-info svg, .page-contacts .contact-info .feather {
            width: 13px !important;
            height: 13px !important;
            vertical-align: -1px !important;
            opacity: 0.7 !important;
        }

        /* --- Action Buttons: Hidden by Default, Slide Up on Hover --- */
        .page-contacts .contact-actions {
            position: relative !important;
            z-index: 3 !important;
            opacity: 0 !important;
            transform: translateY(10px) !important;
            transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            display: flex !important;
            gap: 8px !important;
            justify-content: center !important;
        }

        .page-contacts .contact-card:hover .contact-actions {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* Glass pill style for each button */
        .page-contacts .contact-actions .btn {
            border-radius: 50px !important;
            padding: 6px 14px !important;
            font-size: 0.75rem !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border: 1px solid rgba(255, 255, 255, 0.35) !important;
            transition: all 0.3s ease !important;
        }

        /* Primary (Edit) button glow */
        .page-contacts .contact-actions .btn-outline-primary {
            background: rgba(99, 102, 241, 0.08) !important;
            color: #6366f1 !important;
            border-color: rgba(99, 102, 241, 0.25) !important;
        }
        .page-contacts .contact-actions .btn-outline-primary:hover {
            background: rgba(99, 102, 241, 0.18) !important;
            box-shadow: 0 0 16px rgba(99, 102, 241, 0.35),
                        0 0 32px rgba(99, 102, 241, 0.1) !important;
            border-color: rgba(99, 102, 241, 0.5) !important;
            color: #4f46e5 !important;
        }

        /* Danger (Delete) button glow */
        .page-contacts .contact-actions .btn-outline-danger {
            background: rgba(239, 68, 68, 0.08) !important;
            color: #ef4444 !important;
            border-color: rgba(239, 68, 68, 0.25) !important;
        }
        .page-contacts .contact-actions .btn-outline-danger:hover {
            background: rgba(239, 68, 68, 0.18) !important;
            box-shadow: 0 0 16px rgba(239, 68, 68, 0.35),
                        0 0 32px rgba(239, 68, 68, 0.1) !important;
            border-color: rgba(239, 68, 68, 0.5) !important;
            color: #dc2626 !important;
        }

        /* Info (Message) button glow */
        .page-contacts .contact-actions .btn-outline-info {
            background: rgba(6, 182, 212, 0.08) !important;
            color: #06b6d4 !important;
            border-color: rgba(6, 182, 212, 0.25) !important;
        }
        .page-contacts .contact-actions .btn-outline-info:hover {
            background: rgba(6, 182, 212, 0.18) !important;
            box-shadow: 0 0 16px rgba(6, 182, 212, 0.35),
                        0 0 32px rgba(6, 182, 212, 0.1) !important;
            border-color: rgba(6, 182, 212, 0.5) !important;
            color: #0891b2 !important;
        }

        .page-contacts .contact-actions .btn svg, .page-contacts .contact-actions .btn .feather {
            width: 14px !important;
            height: 14px !important;
        }

        /* --- Search Box: Glass Pill with Indigo Focus Glow --- */
        .page-contacts .page-content > .row.mb-4 .search-box {
            background: rgba(255, 255, 255, 0.55) !important;
            backdrop-filter: blur(16px) saturate(1.6) !important;
            -webkit-backdrop-filter: blur(16px) saturate(1.6) !important;
            border: 1px solid rgba(255, 255, 255, 0.5) !important;
            border-radius: 50px !important;
            padding: 4px 6px !important;
            transition: all 0.35s ease !important;
            box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06) !important;
        }

        .page-contacts .page-content > .row.mb-4 .search-box .form-control {
            border: none !important;
            background: transparent !important;
            box-shadow: none !important;
            border-radius: 50px !important;
            font-size: 0.88rem !important;
        }

        .page-contacts .page-content > .row.mb-4 .search-box .form-control:focus {
            box-shadow: none !important;
        }

        .page-contacts .page-content > .row.mb-4 .search-box:focus-within {
            border-color: rgba(99, 102, 241, 0.45) !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12),
                        0 4px 20px rgba(99, 102, 241, 0.15) !important;
            background: rgba(255, 255, 255, 0.75) !important;
        }

        .page-contacts .page-content > .row.mb-4 .search-box .search-icon {
            color: #6366f1 !important;
            opacity: 0.6 !important;
            transition: opacity 0.3s ease !important;
        }

        .page-contacts .page-content > .row.mb-4 .search-box:focus-within .search-icon {
            opacity: 1 !important;
        }

        /* --- View Toggle Buttons: Glass Style with Active Gradient --- */
        .page-contacts .page-content .btn-group .btn-outline-primary {
            background: rgba(255, 255, 255, 0.5) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border: 1px solid rgba(99, 102, 241, 0.2) !important;
            color: #6366f1 !important;
            transition: all 0.3s ease !important;
            border-radius: 0 !important;
        }

        .page-contacts .page-content .btn-group .btn-outline-primary:first-child {
            border-radius: 12px 0 0 12px !important;
        }

        .page-contacts .page-content .btn-group .btn-outline-primary:last-child {
            border-radius: 0 12px 12px 0 !important;
        }

        .page-contacts .page-content .btn-group .btn-outline-primary.active, .page-contacts .page-content .btn-group .btn-outline-primary:active {
            background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
            color: #ffffff !important;
            border-color: transparent !important;
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
        }

        .page-contacts .page-content .btn-group .btn-outline-primary:hover:not(.active) {
            background: rgba(99, 102, 241, 0.1) !important;
            border-color: rgba(99, 102, 241, 0.35) !important;
        }

        /* --- "Add Contact" Button: Gradient with Shimmer --- */
        .page-contacts .page-header-actions .btn-primary {
            background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7) !important;
            border: none !important;
            border-radius: 14px !important;
            padding: 10px 24px !important;
            font-weight: 600 !important;
            letter-spacing: 0.02em !important;
            position: relative !important;
            overflow: hidden !important;
            box-shadow: 0 4px 18px rgba(99, 102, 241, 0.3),
                        0 1px 4px rgba(99, 102, 241, 0.15) !important;
            transition: all 0.35s ease !important;
        }

        .page-contacts .page-header-actions .btn-primary::after {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            background: linear-gradient(
                105deg,
                transparent 35%,
                rgba(255, 255, 255, 0.3) 45%,
                rgba(255, 255, 255, 0.4) 50%,
                rgba(255, 255, 255, 0.3) 55%,
                transparent 65%
            ) !important;
            background-size: 200% 100% !important;
            animation: shimmerSlide 3s ease-in-out infinite !important;
        }

        .page-contacts .page-header-actions .btn-primary:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4),
                        0 2px 8px rgba(139, 92, 246, 0.25) !important;
        }

        /* --- Page Title Enhancement --- */
        .page-contacts .page-header .page-title {
            font-weight: 800 !important;
            letter-spacing: -0.02em !important;
            background: linear-gradient(135deg, #1e1b4b, #4338ca, #6366f1) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* ============================================================
           DARK MODE - .dark-mode
           ============================================================ */

        /* Dark mode card glass */
        .dark-mode.page-contacts .contact-card {
            background: rgba(30, 27, 75, 0.55) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                        0 0 1px rgba(99, 102, 241, 0.2) !important;
        }

        .dark-mode.page-contacts .contact-card::after {
            background: rgba(30, 27, 75, 0.7) !important;
        }

        .dark-mode.page-contacts .contact-card:hover {
            box-shadow: 0 12px 48px rgba(99, 102, 241, 0.25),
                        0 4px 20px rgba(139, 92, 246, 0.2),
                        0 0 0 1px rgba(99, 102, 241, 0.2) !important;
        }

        .dark-mode.page-contacts .contact-card:hover::before {
            opacity: 0.85 !important;
        }

        /* Dark mode name text */
        .dark-mode.page-contacts .contact-card h6 {
            color: #e0e7ff !important;
        }

        .dark-mode.page-contacts .contact-card:hover h6 {
            background: linear-gradient(135deg, #a5b4fc, #c084fc, #e879f9) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* Dark mode muted text */
        .dark-mode.page-contacts .contact-card p.text-muted {
            color: #a5b4fc !important;
        }

        /* Dark mode avatar brighter glows */
        .dark-mode.page-contacts .contact-card .avatar .avatar-placeholder.bg-primary {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.8),
                        0 0 22px rgba(99, 102, 241, 0.6),
                        0 0 44px rgba(99, 102, 241, 0.25) !important;
        }
        .dark-mode.page-contacts .contact-card .avatar .avatar-placeholder.bg-success {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.8),
                        0 0 22px rgba(34, 197, 94, 0.6),
                        0 0 44px rgba(34, 197, 94, 0.25) !important;
        }
        .dark-mode.page-contacts .contact-card .avatar .avatar-placeholder.bg-warning {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.8),
                        0 0 22px rgba(234, 179, 8, 0.6),
                        0 0 44px rgba(234, 179, 8, 0.25) !important;
        }
        .dark-mode.page-contacts .contact-card .avatar .avatar-placeholder.bg-info {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.8),
                        0 0 22px rgba(6, 182, 212, 0.6),
                        0 0 44px rgba(6, 182, 212, 0.25) !important;
        }
        .dark-mode.page-contacts .contact-card .avatar .avatar-placeholder.bg-danger {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.8),
                        0 0 22px rgba(239, 68, 68, 0.6),
                        0 0 44px rgba(239, 68, 68, 0.25) !important;
        }
        .dark-mode.page-contacts .contact-card .avatar .avatar-placeholder.bg-secondary {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.8),
                        0 0 22px rgba(156, 163, 175, 0.6),
                        0 0 44px rgba(156, 163, 175, 0.25) !important;
        }

        /* Dark mode hover avatar glows (even brighter) */
        .dark-mode.page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-primary {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.9),
                        0 0 30px rgba(99, 102, 241, 0.8),
                        0 0 60px rgba(99, 102, 241, 0.35) !important;
        }
        .dark-mode.page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-success {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.9),
                        0 0 30px rgba(34, 197, 94, 0.8),
                        0 0 60px rgba(34, 197, 94, 0.35) !important;
        }
        .dark-mode.page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-warning {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.9),
                        0 0 30px rgba(234, 179, 8, 0.8),
                        0 0 60px rgba(234, 179, 8, 0.35) !important;
        }
        .dark-mode.page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-info {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.9),
                        0 0 30px rgba(6, 182, 212, 0.8),
                        0 0 60px rgba(6, 182, 212, 0.35) !important;
        }
        .dark-mode.page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-danger {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.9),
                        0 0 30px rgba(239, 68, 68, 0.8),
                        0 0 60px rgba(239, 68, 68, 0.35) !important;
        }
        .dark-mode.page-contacts .contact-card:hover .avatar .avatar-placeholder.bg-secondary {
            box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.9),
                        0 0 30px rgba(156, 163, 175, 0.8),
                        0 0 60px rgba(156, 163, 175, 0.35) !important;
        }

        /* Dark mode contact info */
        .dark-mode.page-contacts .contact-info {
            border-top-color: rgba(99, 102, 241, 0.15) !important;
            border-bottom-color: rgba(99, 102, 241, 0.15) !important;
        }

        .dark-mode.page-contacts .contact-info a {
            color: #818cf8 !important;
        }

        .dark-mode.page-contacts .contact-info a:hover {
            color: #a5b4fc !important;
            text-shadow: 0 0 14px rgba(129, 140, 248, 0.5),
                         0 0 28px rgba(129, 140, 248, 0.2) !important;
        }

        /* Dark mode action buttons */
        .dark-mode.page-contacts .contact-actions .btn-outline-primary {
            background: rgba(99, 102, 241, 0.12) !important;
            color: #a5b4fc !important;
            border-color: rgba(99, 102, 241, 0.3) !important;
        }
        .dark-mode.page-contacts .contact-actions .btn-outline-primary:hover {
            background: rgba(99, 102, 241, 0.25) !important;
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.45) !important;
        }

        .dark-mode.page-contacts .contact-actions .btn-outline-danger {
            background: rgba(239, 68, 68, 0.12) !important;
            color: #fca5a5 !important;
            border-color: rgba(239, 68, 68, 0.3) !important;
        }
        .dark-mode.page-contacts .contact-actions .btn-outline-danger:hover {
            background: rgba(239, 68, 68, 0.25) !important;
            box-shadow: 0 0 20px rgba(239, 68, 68, 0.45) !important;
        }

        .dark-mode.page-contacts .contact-actions .btn-outline-info {
            background: rgba(6, 182, 212, 0.12) !important;
            color: #67e8f9 !important;
            border-color: rgba(6, 182, 212, 0.3) !important;
        }
        .dark-mode.page-contacts .contact-actions .btn-outline-info:hover {
            background: rgba(6, 182, 212, 0.25) !important;
            box-shadow: 0 0 20px rgba(6, 182, 212, 0.45) !important;
        }

        /* Dark mode search box */
        .dark-mode.page-contacts .page-content > .row.mb-4 .search-box {
            background: rgba(30, 27, 75, 0.5) !important;
            border-color: rgba(99, 102, 241, 0.2) !important;
        }

        .dark-mode.page-contacts .page-content > .row.mb-4 .search-box .form-control {
            color: #e0e7ff !important;
        }

        .dark-mode.page-contacts .page-content > .row.mb-4 .search-box:focus-within {
            background: rgba(30, 27, 75, 0.7) !important;
            border-color: rgba(99, 102, 241, 0.5) !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18),
                        0 4px 24px rgba(99, 102, 241, 0.2) !important;
        }

        /* Dark mode view toggle */
        .dark-mode.page-contacts .page-content .btn-group .btn-outline-primary {
            background: rgba(30, 27, 75, 0.5) !important;
            border-color: rgba(99, 102, 241, 0.25) !important;
            color: #a5b4fc !important;
        }

        .dark-mode.page-contacts .page-content .btn-group .btn-outline-primary.active {
            background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45) !important;
        }

        /* Dark mode page title */
        .dark-mode.page-contacts .page-header .page-title {
            background: linear-gradient(135deg, #a5b4fc, #c084fc, #e879f9) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* Dark mode Add Contact button */
        .dark-mode.page-contacts .page-header-actions .btn-primary {
            box-shadow: 0 4px 22px rgba(99, 102, 241, 0.4),
                        0 1px 6px rgba(139, 92, 246, 0.25) !important;
        }

        .dark-mode.page-contacts .page-header-actions .btn-primary:hover {
            box-shadow: 0 8px 36px rgba(99, 102, 241, 0.55),
                        0 2px 12px rgba(139, 92, 246, 0.35) !important;
        }

        /* ============================================================
           RESPONSIVE ADJUSTMENTS
           ============================================================ */

        /* Tablets and below */
        @media (max-width: 991.98px) {
            .page-contacts .contact-card .contact-actions {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }

            .page-contacts .contact-card::before {
                display: none !important;
            }

            .page-contacts .contact-card {
                border-radius: 16px !important;
            }

            .page-contacts .contact-card .card-body {
                border-radius: 16px !important;
            }
        }

        /* Mobile screens */
        @media (max-width: 767.98px) {
            .page-contacts .contact-card {
                border-radius: 14px !important;
                margin-bottom: 4px !important;
            }

            .page-contacts .contact-card .card-body {
                border-radius: 14px !important;
                padding: 20px 16px !important;
            }

            .page-contacts .contact-actions .btn {
                padding: 5px 12px !important;
                font-size: 0.7rem !important;
            }

            .page-contacts .page-header-actions .btn-primary {
                border-radius: 12px !important;
                padding: 8px 18px !important;
                font-size: 0.85rem !important;
            }

            .page-contacts .page-content > .row.mb-4 .search-box {
                border-radius: 40px !important;
            }
        }

        /* Small mobile */
        @media (max-width: 575.98px) {
            .page-contacts .row.g-4 > [class*="col-"] .contact-card {
                animation-delay: 0s !important;
            }

            .page-contacts .contact-card .avatar {
                animation: none !important;
            }

            .page-contacts .page-content .btn-group .btn-outline-primary:first-child {
                border-radius: 10px 0 0 10px !important;
            }

            .page-contacts .page-content .btn-group .btn-outline-primary:last-child {
                border-radius: 0 10px 10px 0 !important;
            }
        }


/* ===========================================
   Page: app-email-compose
   ========================================== */
/* ============================================================
           Premium Glassmorphic Email Compose - Inline Styles
           ============================================================ */

        /* --- Keyframe Animations --- */
        @keyframes composeGlow {
            0%, 100% {
                box-shadow: 0 0 15px rgba(99, 102, 241, 0.3), 0 0 30px rgba(99, 102, 241, 0.1);
            }
            50% {
                box-shadow: 0 0 25px rgba(99, 102, 241, 0.5), 0 0 50px rgba(99, 102, 241, 0.2);
            }
        }

        @keyframes dropZonePulse {
            0%, 100% {
                border-color: rgba(99, 102, 241, 0.3);
            }
            50% {
                border-color: rgba(99, 102, 241, 0.7);
            }
        }

        @keyframes dropIconBounce {
            0%, 100% { transform: translateY(0); }
            25% { transform: translateY(-6px); }
            50% { transform: translateY(0); }
            75% { transform: translateY(-3px); }
        }

        @keyframes labelDotRing {
            0% {
                box-shadow: 0 0 0 0 currentColor;
                opacity: 0.6;
            }
            70% {
                box-shadow: 0 0 0 6px currentColor;
                opacity: 0;
            }
            100% {
                box-shadow: 0 0 0 0 currentColor;
                opacity: 0;
            }
        }

        @keyframes shimmerBorder {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }

        /* --- Email Container --- */
        .page-email-compose .email-container {
            border-radius: 16px !important;
            box-shadow:
                0 10px 40px rgba(99, 102, 241, 0.08),
                0 2px 10px rgba(0, 0, 0, 0.04),
                0 0 0 1px rgba(99, 102, 241, 0.06) !important;
            overflow: hidden;
            position: relative;
            background: rgba(255, 255, 255, 0.85) !important;
            backdrop-filter: blur(20px) saturate(1.8);
            -webkit-backdrop-filter: blur(20px) saturate(1.8);
        }

        .page-email-compose .email-container::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 16px;
            padding: 1.5px;
            background: linear-gradient(
                135deg,
                rgba(99, 102, 241, 0.25),
                rgba(168, 85, 247, 0.15),
                rgba(99, 102, 241, 0.05),
                rgba(168, 85, 247, 0.2)
            );
            background-size: 200% 200%;
            animation: shimmerBorder 6s ease-in-out infinite;
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 1;
        }

        /* --- Email Content Scroll --- */
        .page-email-compose .email-content {
            overflow-y: auto;
        }

        .page-email-compose .email-sidebar {
            overflow-y: auto;
        }

        /* --- Email Sidebar --- */
        .page-email-compose .email-sidebar {
            background: linear-gradient(
                180deg,
                rgba(238, 237, 255, 0.6) 0%,
                rgba(245, 243, 255, 0.4) 50%,
                rgba(255, 255, 255, 0.3) 100%
            ) !important;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-right: 1px solid rgba(99, 102, 241, 0.08) !important;
        }

        /* Compose Button - Gradient with Glow */
        .page-email-compose .email-sidebar > .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
            border: none !important;
            border-radius: 50px !important;
            padding: 12px 24px !important;
            font-weight: 600 !important;
            letter-spacing: 0.3px;
            animation: composeGlow 3s ease-in-out infinite;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            position: relative;
            overflow: hidden;
        }

        .page-email-compose .email-sidebar > .btn-primary::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
            border-radius: inherit;
            pointer-events: none;
        }

        .page-email-compose .email-sidebar > .btn-primary:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow:
                0 8px 25px rgba(99, 102, 241, 0.45),
                0 0 40px rgba(139, 92, 246, 0.2) !important;
        }

        .page-email-compose .email-sidebar > .btn-primary:active {
            transform: translateY(0) scale(0.98);
        }

        /* --- Email Nav Items --- */
        .page-email-compose .email-nav ul li a {
            display: flex;
            align-items: center;
            gap: 10px;
            border-radius: 10px !important;
            padding: 9px 14px !important;
            margin-bottom: 2px;
            color: var(--body-color);
            font-size: 13.5px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            position: relative;
        }

        .page-email-compose .email-nav ul li a svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        .page-email-compose .email-nav ul li a:hover {
            background: rgba(99, 102, 241, 0.06) !important;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transform: translateX(3px);
        }

        .page-email-compose .email-nav ul li a.active, .page-email-compose .email-nav ul li.active > a {
            background: rgba(99, 102, 241, 0.1) !important;
            color: #6366f1 !important;
            font-weight: 600;
        }

        .page-email-compose .email-nav ul li a.active::before, .page-email-compose .email-nav ul li.active > a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 60%;
            background: linear-gradient(180deg, #6366f1, #a855f7);
            border-radius: 0 3px 3px 0;
        }

        /* Sidebar Separator - Gradient Line */
        .page-email-compose .email-nav hr {
            border: none !important;
            height: 1px !important;
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(99, 102, 241, 0.25) 30%,
                rgba(168, 85, 247, 0.2) 70%,
                transparent 100%
            ) !important;
            margin: 16px 0 !important;
        }

        /* Labels - Dot Ring Animation */
        .page-email-compose .email-nav .dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            display: inline-block;
            transition: all 0.3s ease;
            position: relative;
        }

        .page-email-compose .email-nav ul li a:hover .dot {
            animation: labelDotRing 1s ease-out;
            transform: scale(1.2);
        }

        /* --- Compose Card --- */
        .page-email-compose .email-content > .card {
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        .page-email-compose .email-content > .card > .card-body {
            padding: 32px 36px !important;
        }

        /* --- Form Labels --- */
        .page-email-compose .email-content .form-label {
            font-size: 0.7rem !important;
            font-weight: 600 !important;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: #94a3b8 !important;
            margin-bottom: 6px !important;
        }

        /* --- Form Inputs --- */
        .page-email-compose .email-content .form-control {
            border-radius: 10px !important;
            border: 1.5px solid rgba(148, 163, 184, 0.25) !important;
            padding: 10px 16px !important;
            font-size: 0.925rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            background: rgba(255, 255, 255, 0.7) !important;
        }

        .page-email-compose .email-content .form-control:hover {
            border-color: rgba(99, 102, 241, 0.3) !important;
        }

        .page-email-compose .email-content .form-control:focus {
            border-color: #6366f1 !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(99, 102, 241, 0.08) !important;
            background: #fff !important;
        }

        .page-email-compose .email-content .form-control::placeholder {
            color: #c1c9d4;
            font-weight: 400;
        }

        /* --- Message Textarea --- */
        .page-email-compose .email-content textarea.form-control {
            min-height: 300px !important;
            resize: vertical;
            line-height: 1.7;
        }

        /* Custom Scrollbar for Textarea */
        .page-email-compose .email-content textarea.form-control::-webkit-scrollbar {
            width: 6px;
        }

        .page-email-compose .email-content textarea.form-control::-webkit-scrollbar-track {
            background: transparent;
            border-radius: 3px;
        }

        .page-email-compose .email-content textarea.form-control::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.2);
            border-radius: 3px;
        }

        .page-email-compose .email-content textarea.form-control::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.4);
        }

        /* --- CC/BCC Toggle --- */
        .page-email-compose #toggleCcBcc {
            display: inline-block;
            padding: 3px 14px;
            border-radius: 50px;
            background: rgba(99, 102, 241, 0.08);
            color: #6366f1 !important;
            font-size: 0.75rem;
            font-weight: 600;
            text-decoration: none !important;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease !important;
            border: 1px solid rgba(99, 102, 241, 0.15);
        }

        .page-email-compose #toggleCcBcc:hover {
            background: rgba(99, 102, 241, 0.15);
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(99, 102, 241, 0.15);
        }

        /* --- File Drop Zone --- */
        .page-email-compose .file-drop-zone {
            border: 2px dashed rgba(99, 102, 241, 0.3) !important;
            border-radius: 16px !important;
            background: rgba(238, 237, 255, 0.3) !important;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            padding: 36px 24px !important;
            text-align: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            animation: dropZonePulse 4s ease-in-out infinite;
            position: relative;
            overflow: hidden;
        }

        .page-email-compose .file-drop-zone::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(99, 102, 241, 0.03) 0%,
                rgba(168, 85, 247, 0.03) 100%
            );
            border-radius: inherit;
            pointer-events: none;
        }

        .page-email-compose .file-drop-zone:hover {
            border-style: solid !important;
            border-color: #6366f1 !important;
            background: rgba(238, 237, 255, 0.5) !important;
            transform: scale(1.01);
            box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
        }

        .page-email-compose .file-drop-zone:hover svg, .page-email-compose .file-drop-zone:hover .feather {
            animation: dropIconBounce 0.8s ease-in-out;
            color: #6366f1;
        }

        .page-email-compose .file-drop-zone svg, .page-email-compose .file-drop-zone .feather {
            width: 40px !important;
            height: 40px !important;
            color: #a5b4c8;
            transition: color 0.3s ease;
        }

        .page-email-compose .file-drop-zone p {
            font-weight: 500;
            color: #64748b;
            font-size: 0.925rem;
        }

        /* --- Action Buttons --- */
        .page-email-compose .email-content .d-flex.gap-2 .btn {
            border-radius: 50px !important;
            padding: 10px 24px !important;
            font-weight: 600 !important;
            font-size: 0.875rem;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            letter-spacing: 0.3px;
        }

        /* Send Button */
        .page-email-compose .email-content .d-flex.gap-2 .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
            border: none !important;
            animation: composeGlow 3s ease-in-out infinite;
            position: relative;
            overflow: hidden;
        }

        .page-email-compose .email-content .d-flex.gap-2 .btn-primary::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
            border-radius: inherit;
            pointer-events: none;
        }

        .page-email-compose .email-content .d-flex.gap-2 .btn-primary:hover {
            transform: translateY(-3px) scale(1.04);
            box-shadow:
                0 8px 25px rgba(99, 102, 241, 0.45),
                0 0 50px rgba(139, 92, 246, 0.15) !important;
        }

        .page-email-compose .email-content .d-flex.gap-2 .btn-primary:active {
            transform: translateY(0) scale(0.97);
        }

        /* Save Draft Button */
        .page-email-compose .email-content .d-flex.gap-2 .btn-outline-secondary {
            border: 1.5px solid rgba(148, 163, 184, 0.3) !important;
            color: #64748b !important;
            background: transparent !important;
        }

        .page-email-compose .email-content .d-flex.gap-2 .btn-outline-secondary:hover {
            background: rgba(148, 163, 184, 0.08) !important;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border-color: rgba(148, 163, 184, 0.45) !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(100, 116, 139, 0.1) !important;
            color: #475569 !important;
        }

        /* Discard Button */
        .page-email-compose .email-content .d-flex.gap-2 .btn-outline-danger {
            border: 1.5px solid rgba(239, 68, 68, 0.3) !important;
        }

        .page-email-compose .email-content .d-flex.gap-2 .btn-outline-danger:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2), 0 0 30px rgba(239, 68, 68, 0.08) !important;
        }

        /* --- Custom Scrollbar (Global) --- */
        .page-email-compose .email-content::-webkit-scrollbar, .page-email-compose .email-sidebar::-webkit-scrollbar {
            width: 5px;
        }

        .page-email-compose .email-content::-webkit-scrollbar-track, .page-email-compose .email-sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .page-email-compose .email-content::-webkit-scrollbar-thumb, .page-email-compose .email-sidebar::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.15);
            border-radius: 10px;
        }

        .page-email-compose .email-content::-webkit-scrollbar-thumb:hover, .page-email-compose .email-sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.3);
        }

        /* --- Badge Pills in Nav --- */
        .page-email-compose .email-nav .badge {
            font-size: 0.68rem;
            font-weight: 600;
            padding: 3px 10px;
            letter-spacing: 0.3px;
        }

        /* ============================================================
           DARK MODE
           ============================================================ */

        /* --- Email Container (Dark) --- */
        .dark-mode.page-email-compose .email-container {
            background: rgba(30, 30, 46, 0.9) !important;
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.3),
                0 2px 10px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-email-compose .email-container::before {
            background: linear-gradient(
                135deg,
                rgba(99, 102, 241, 0.35),
                rgba(168, 85, 247, 0.2),
                rgba(99, 102, 241, 0.08),
                rgba(168, 85, 247, 0.3)
            );
        }

        /* --- Email Sidebar (Dark) --- */
        .dark-mode.page-email-compose .email-sidebar {
            background: linear-gradient(
                180deg,
                rgba(30, 27, 56, 0.8) 0%,
                rgba(25, 23, 48, 0.6) 50%,
                rgba(20, 20, 40, 0.4) 100%
            ) !important;
            border-right: 1px solid rgba(99, 102, 241, 0.12) !important;
        }

        /* Compose Button (Dark) */
        .dark-mode.page-email-compose .email-sidebar > .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
        }

        .dark-mode.page-email-compose .email-sidebar > .btn-primary:hover {
            box-shadow:
                0 8px 30px rgba(99, 102, 241, 0.5),
                0 0 50px rgba(139, 92, 246, 0.25) !important;
        }

        /* Nav Items (Dark) */
        .dark-mode.page-email-compose .email-nav ul li a {
            color: #a5b0c5 !important;
        }

        .dark-mode.page-email-compose .email-nav ul li a:hover {
            background: rgba(99, 102, 241, 0.1) !important;
            color: #c7d0e0 !important;
        }

        .dark-mode.page-email-compose .email-nav ul li a.active, .dark-mode.page-email-compose .email-nav ul li.active > a {
            background: rgba(99, 102, 241, 0.15) !important;
            color: #818cf8 !important;
        }

        /* Sidebar Separator (Dark) */
        .dark-mode.page-email-compose .email-nav hr {
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(99, 102, 241, 0.2) 30%,
                rgba(168, 85, 247, 0.15) 70%,
                transparent 100%
            ) !important;
        }

        /* --- Compose Card (Dark) --- */
        .dark-mode.page-email-compose .email-content > .card {
            background: transparent !important;
            border: none !important;
        }

        /* --- Form Labels (Dark) --- */
        .dark-mode.page-email-compose .email-content .form-label {
            color: #6b7a90 !important;
        }

        /* --- Form Inputs (Dark) --- */
        .dark-mode.page-email-compose .email-content .form-control {
            background: rgba(30, 30, 50, 0.5) !important;
            border-color: rgba(99, 102, 241, 0.12) !important;
            color: #d1d5e8 !important;
        }

        .dark-mode.page-email-compose .email-content .form-control:hover {
            border-color: rgba(99, 102, 241, 0.25) !important;
        }

        .dark-mode.page-email-compose .email-content .form-control:focus {
            border-color: #6366f1 !important;
            background: rgba(30, 30, 55, 0.8) !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(99, 102, 241, 0.1) !important;
            color: #e2e8f0 !important;
        }

        .dark-mode.page-email-compose .email-content .form-control::placeholder {
            color: #4a5568;
        }

        /* --- Textarea Scrollbar (Dark) --- */
        .dark-mode.page-email-compose .email-content textarea.form-control::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.25);
        }

        .dark-mode.page-email-compose .email-content textarea.form-control::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.45);
        }

        /* --- CC/BCC Toggle (Dark) --- */
        .dark-mode.page-email-compose #toggleCcBcc {
            background: rgba(99, 102, 241, 0.12);
            color: #818cf8 !important;
            border-color: rgba(99, 102, 241, 0.2);
        }

        .dark-mode.page-email-compose #toggleCcBcc:hover {
            background: rgba(99, 102, 241, 0.2);
            box-shadow: 0 3px 12px rgba(99, 102, 241, 0.2);
        }

        /* --- File Drop Zone (Dark) --- */
        .dark-mode.page-email-compose .file-drop-zone {
            border-color: rgba(99, 102, 241, 0.2) !important;
            background: rgba(30, 27, 56, 0.3) !important;
        }

        .dark-mode.page-email-compose .file-drop-zone::before {
            background: linear-gradient(
                135deg,
                rgba(99, 102, 241, 0.05) 0%,
                rgba(168, 85, 247, 0.05) 100%
            );
        }

        .dark-mode.page-email-compose .file-drop-zone:hover {
            border-color: #818cf8 !important;
            background: rgba(30, 27, 56, 0.5) !important;
            box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
        }

        .dark-mode.page-email-compose .file-drop-zone:hover svg, .dark-mode.page-email-compose .file-drop-zone:hover .feather {
            color: #818cf8;
        }

        .dark-mode.page-email-compose .file-drop-zone svg, .dark-mode.page-email-compose .file-drop-zone .feather {
            color: #4a5568;
        }

        .dark-mode.page-email-compose .file-drop-zone p {
            color: #8b95a8;
        }

        /* --- Send Button (Dark) --- */
        .dark-mode.page-email-compose .email-content .d-flex.gap-2 .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
        }

        .dark-mode.page-email-compose .email-content .d-flex.gap-2 .btn-primary:hover {
            box-shadow:
                0 8px 30px rgba(99, 102, 241, 0.5),
                0 0 60px rgba(139, 92, 246, 0.2) !important;
        }

        /* --- Save Draft Button (Dark) --- */
        .dark-mode.page-email-compose .email-content .d-flex.gap-2 .btn-outline-secondary {
            border-color: rgba(148, 163, 184, 0.15) !important;
            color: #8b95a8 !important;
        }

        .dark-mode.page-email-compose .email-content .d-flex.gap-2 .btn-outline-secondary:hover {
            background: rgba(148, 163, 184, 0.08) !important;
            border-color: rgba(148, 163, 184, 0.3) !important;
            color: #b0bec9 !important;
            box-shadow: 0 4px 15px rgba(100, 116, 139, 0.08) !important;
        }

        /* --- Discard Button (Dark) --- */
        .dark-mode.page-email-compose .email-content .d-flex.gap-2 .btn-outline-danger {
            border-color: rgba(239, 68, 68, 0.2) !important;
        }

        .dark-mode.page-email-compose .email-content .d-flex.gap-2 .btn-outline-danger:hover {
            box-shadow: 0 4px 25px rgba(239, 68, 68, 0.25), 0 0 40px rgba(239, 68, 68, 0.1) !important;
        }

        /* --- Scrollbar (Dark) --- */
        .dark-mode.page-email-compose .email-content::-webkit-scrollbar-thumb, .dark-mode.page-email-compose .email-sidebar::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.2);
        }

        .dark-mode.page-email-compose .email-content::-webkit-scrollbar-thumb:hover, .dark-mode.page-email-compose .email-sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.4);
        }

        /* --- Responsive Adjustments --- */
        @media (max-width: 768px) {
            .page-email-compose .email-content > .card > .card-body {
                padding: 20px 18px !important;
            }

            .page-email-compose .email-content .d-flex.gap-2 .btn {
                padding: 9px 18px !important;
                font-size: 0.8rem;
            }

            .page-email-compose .file-drop-zone {
                padding: 24px 16px !important;
            }
        }


/* ===========================================
   Page: app-email-inbox
   ========================================== */
/* ============================================================
           Premium Glassmorphic Email Client - Inline Styles
           ============================================================ */

        /* --- Keyframe Animations --- */
        @keyframes emailSlideIn {
            0% {
                opacity: 0;
                transform: translateX(-18px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes composeGlow {
            0%, 100% {
                box-shadow: 0 0 8px rgba(99, 102, 241, 0.4),
                            0 0 20px rgba(99, 102, 241, 0.15);
            }
            50% {
                box-shadow: 0 0 16px rgba(99, 102, 241, 0.6),
                            0 0 40px rgba(99, 102, 241, 0.25);
            }
        }

        @keyframes labelRingPulse {
            0% {
                box-shadow: 0 0 0 0 currentColor;
            }
            70% {
                box-shadow: 0 0 0 5px transparent;
            }
            100% {
                box-shadow: 0 0 0 0 transparent;
            }
        }

        @keyframes accentBarEnter {
            0% {
                height: 0;
                opacity: 0;
            }
            100% {
                height: 60%;
                opacity: 1;
            }
        }

        /* --- Email Container --- */
        .page-email-inbox .email-container {
            border-radius: 16px !important;
            border: 1px solid transparent !important;
            background-image: linear-gradient(#fff, #fff),
                              linear-gradient(135deg, rgba(99,102,241,0.25), rgba(168,85,247,0.18), rgba(99,102,241,0.10));
            background-origin: border-box;
            background-clip: padding-box, border-box;
            box-shadow: 0 8px 32px rgba(99,102,241,0.08),
                        0 2px 8px rgba(0,0,0,0.04) !important;
            overflow: hidden;
        }

        /* --- Email Sidebar --- */
        .page-email-inbox .email-sidebar {
            background: linear-gradient(180deg, rgba(238,242,255,0.7) 0%, rgba(245,243,255,0.4) 100%) !important;
            border-right: 1px solid rgba(99,102,241,0.08) !important;
        }

        /* Compose Button - Gradient pill with glow */
        .page-email-inbox .email-sidebar .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
            border: none !important;
            border-radius: 50px !important;
            padding: 11px 20px !important;
            font-weight: 600 !important;
            letter-spacing: 0.3px;
            box-shadow: 0 4px 15px rgba(99,102,241,0.35);
            animation: composeGlow 3s ease-in-out infinite;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .page-email-inbox .email-sidebar .btn-primary:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 25px rgba(99,102,241,0.5) !important;
        }

        .page-email-inbox .email-sidebar .btn-primary:active {
            transform: translateY(0) scale(0.98);
        }

        /* Nav Items - Pill hover with glass effect */
        .page-email-inbox .email-nav ul li a {
            display: flex;
            align-items: center;
            gap: 10px;
            border-radius: 10px !important;
            padding: 9px 14px !important;
            margin-bottom: 2px;
            color: var(--body-color);
            font-size: 13.5px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .page-email-inbox .email-nav ul li a svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        .page-email-inbox .email-nav ul li a:hover {
            background: rgba(255,255,255,0.7) !important;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 2px 8px rgba(99,102,241,0.08);
        }

        /* Active nav item - Indigo accent bar + wash */
        .page-email-inbox .email-nav ul li.active > a {
            background: rgba(99,102,241,0.08) !important;
            color: #6366f1 !important;
            font-weight: 600 !important;
            padding-left: 18px !important;
        }

        .page-email-inbox .email-nav ul li.active > a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 20%;
            width: 3px;
            height: 60%;
            border-radius: 0 4px 4px 0;
            background: linear-gradient(180deg, #6366f1, #8b5cf6);
        }

        .page-email-inbox .email-nav ul li.active > a .badge {
            background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        }

        /* Sidebar separator - Gradient line */
        .page-email-inbox .email-nav hr {
            border: none !important;
            height: 1px !important;
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), rgba(168,85,247,0.15), transparent) !important;
            margin: 16px 0 !important;
        }

        /* Labels section heading */
        .page-email-inbox .email-nav h6 {
            letter-spacing: 1.2px;
            font-size: 0.68rem !important;
            color: #94a3b8 !important;
        }

        /* Label dots - Ring animation on hover */
        .page-email-inbox .email-nav .dot {
            width: 9px !important;
            height: 9px !important;
            border-radius: 50% !important;
            display: inline-block;
            transition: transform 0.2s ease;
        }

        .page-email-inbox .email-nav ul li a:hover .dot {
            animation: labelRingPulse 0.8s ease-out;
            transform: scale(1.25);
        }

        /* --- Email Toolbar - Glass effect --- */
        .page-email-inbox .email-toolbar {
            background: rgba(255,255,255,0.75) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: none !important;
            position: relative;
        }

        .page-email-inbox .email-toolbar::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 5%;
            right: 5%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.15), rgba(168,85,247,0.12), transparent);
        }

        /* Toolbar buttons - Hover lift + color */
        .page-email-inbox .email-toolbar .btn-icon {
            border-radius: 8px !important;
            transition: all 0.2s ease;
        }

        .page-email-inbox .email-toolbar .btn-icon:hover {
            background: rgba(99,102,241,0.08) !important;
            color: #6366f1 !important;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(99,102,241,0.1);
        }

        /* Toolbar select-all checkbox */
        .page-email-inbox .email-toolbar .form-check-input {
            border-color: #c7d2fe;
            border-radius: 4px;
            width: 16px;
            height: 16px;
        }

        .page-email-inbox .email-toolbar .form-check-input:checked {
            background-color: #6366f1;
            border-color: #6366f1;
        }

        /* --- Email List Items --- */
        .page-email-inbox .email-list {
            scrollbar-width: thin;
            scrollbar-color: rgba(99,102,241,0.2) transparent;
        }

        /* Webkit custom scrollbar */
        .page-email-inbox .email-list::-webkit-scrollbar {
            width: 5px;
        }

        .page-email-inbox .email-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .page-email-inbox .email-list::-webkit-scrollbar-thumb {
            background: rgba(99,102,241,0.18);
            border-radius: 10px;
        }

        .page-email-inbox .email-list::-webkit-scrollbar-thumb:hover {
            background: rgba(99,102,241,0.35);
        }

        /* Individual email item */
        .page-email-inbox .email-item {
            position: relative;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: none !important;
            animation: emailSlideIn 0.4s ease-out backwards;
        }

        /* Staggered animation for email items */
        .page-email-inbox .email-item:nth-child(1) { animation-delay: 0.02s; }
        .page-email-inbox .email-item:nth-child(2) { animation-delay: 0.06s; }
        .page-email-inbox .email-item:nth-child(3) { animation-delay: 0.10s; }
        .page-email-inbox .email-item:nth-child(4) { animation-delay: 0.14s; }
        .page-email-inbox .email-item:nth-child(5) { animation-delay: 0.18s; }
        .page-email-inbox .email-item:nth-child(6) { animation-delay: 0.22s; }
        .page-email-inbox .email-item:nth-child(7) { animation-delay: 0.26s; }
        .page-email-inbox .email-item:nth-child(8) { animation-delay: 0.30s; }
        .page-email-inbox .email-item:nth-child(9) { animation-delay: 0.34s; }
        .page-email-inbox .email-item:nth-child(10) { animation-delay: 0.38s; }
        .page-email-inbox .email-item:nth-child(11) { animation-delay: 0.42s; }
        .page-email-inbox .email-item:nth-child(12) { animation-delay: 0.46s; }

        /* Gradient separator between items */
        .page-email-inbox .email-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 4%;
            right: 4%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.08), rgba(168,85,247,0.06), transparent);
        }

        /* Left accent bar on hover */
        .page-email-inbox .email-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 0;
            border-radius: 0 4px 4px 0;
            background: linear-gradient(180deg, #6366f1, #8b5cf6);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .page-email-inbox .email-item:hover::before {
            animation: accentBarEnter 0.3s ease forwards;
        }

        .page-email-inbox .email-item:hover {
            background: rgba(238,242,255,0.5) !important;
            padding-left: 8px !important;
        }

        /* Unread items - Indigo left border + prominent bg */
        .page-email-inbox .email-item.unread {
            background: linear-gradient(90deg, rgba(238,242,255,0.6), rgba(245,243,255,0.3)) !important;
            border-left: 3px solid #6366f1 !important;
        }

        .page-email-inbox .email-item.unread:hover {
            background: linear-gradient(90deg, rgba(224,231,255,0.7), rgba(238,236,255,0.4)) !important;
        }

        .page-email-inbox .email-item.unread .email-sender {
            font-weight: 700 !important;
            color: #1e293b !important;
        }

        .page-email-inbox .email-item.unread .email-subject {
            font-weight: 600 !important;
            color: #334155 !important;
        }

        /* Star icon - Golden glow on hover */
        .page-email-inbox .email-star {
            transition: transform 0.2s ease;
        }

        .page-email-inbox .email-star:hover {
            transform: scale(1.2);
        }

        .page-email-inbox .email-star:hover svg, .page-email-inbox .email-star:hover i {
            color: #f59e0b !important;
            filter: drop-shadow(0 0 6px rgba(245,158,11,0.5));
            transition: all 0.2s ease;
        }

        .page-email-inbox .email-star.starred svg, .page-email-inbox .email-star.starred i {
            color: #f59e0b !important;
            fill: #f59e0b !important;
            filter: drop-shadow(0 0 4px rgba(245,158,11,0.4));
        }

        /* Avatar - Ring on hover */
        .page-email-inbox .email-item .avatar {
            transition: all 0.25s ease;
        }

        .page-email-inbox .email-item:hover .avatar .avatar-placeholder {
            box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
        }

        /* Sender name */
        .page-email-inbox .email-sender {
            transition: color 0.2s ease;
            font-weight: 500;
        }

        /* Subject and preview */
        .page-email-inbox .email-subject {
            color: #475569;
            transition: color 0.2s ease;
        }

        .page-email-inbox .email-preview {
            color: #94a3b8 !important;
        }

        /* Time - Pill badge on hover */
        .page-email-inbox .email-time {
            font-size: 0.75rem;
            color: #94a3b8;
            transition: all 0.25s ease;
            border-radius: 20px;
            padding: 2px 6px;
        }

        .page-email-inbox .email-item:hover .email-time {
            background: rgba(99,102,241,0.08);
            color: #6366f1;
            padding: 2px 10px;
        }

        /* Attachment icon styling */
        .page-email-inbox .email-meta svg, .page-email-inbox .email-meta i {
            transition: color 0.2s ease;
        }

        .page-email-inbox .email-item:hover .email-meta svg, .page-email-inbox .email-item:hover .email-meta i {
            color: #6366f1 !important;
        }

        /* Checkbox - Custom indigo check */
        .page-email-inbox .email-check .form-check-input {
            border-color: #c7d2fe;
            border-radius: 4px;
            width: 16px;
            height: 16px;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .page-email-inbox .email-check .form-check-input:checked {
            background-color: #6366f1;
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
        }

        .page-email-inbox .email-check .form-check-input:focus {
            border-color: #818cf8;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
        }

        .page-email-inbox .email-check .form-check-input:hover {
            border-color: #818cf8;
        }

        /* --- Subtle page background enhancement --- */
        .page-email-inbox .page-content {
            background: linear-gradient(160deg, rgba(238,242,255,0.2) 0%, transparent 40%);
        }

        /* ============================================================
           DARK MODE OVERRIDES
           ============================================================ */

        /* --- Email Container (Dark) --- */
        .dark-mode.page-email-inbox .email-container {
            background-image: linear-gradient(#1e1e2e, #1e1e2e),
                              linear-gradient(135deg, rgba(99,102,241,0.3), rgba(168,85,247,0.2), rgba(99,102,241,0.12)) !important;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3),
                        0 2px 8px rgba(99,102,241,0.06) !important;
        }

        /* --- Email Sidebar (Dark) --- */
        .dark-mode.page-email-inbox .email-sidebar {
            background: linear-gradient(180deg, rgba(30,30,50,0.9) 0%, rgba(25,25,42,0.7) 100%) !important;
            border-right: 1px solid rgba(99,102,241,0.12) !important;
        }

        /* Compose Button (Dark) */
        .dark-mode.page-email-inbox .email-sidebar .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #9333ea 100%) !important;
            box-shadow: 0 4px 20px rgba(99,102,241,0.3);
        }

        .dark-mode.page-email-inbox .email-sidebar .btn-primary:hover {
            box-shadow: 0 6px 30px rgba(99,102,241,0.45) !important;
        }

        /* Nav Items (Dark) */
        .dark-mode.page-email-inbox .email-nav ul li a:hover {
            background: rgba(99,102,241,0.1) !important;
        }

        .dark-mode.page-email-inbox .email-nav ul li.active > a {
            background: rgba(99,102,241,0.12) !important;
            color: #818cf8 !important;
        }

        .dark-mode.page-email-inbox .email-nav ul li.active > a::before {
            background: linear-gradient(180deg, #818cf8, #a78bfa);
        }

        /* Separator (Dark) */
        .dark-mode.page-email-inbox .email-nav hr {
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.15), rgba(168,85,247,0.1), transparent) !important;
        }

        .dark-mode.page-email-inbox .email-nav h6 {
            color: #64748b !important;
        }

        /* --- Email Toolbar (Dark) --- */
        .dark-mode.page-email-inbox .email-toolbar {
            background: rgba(30,30,50,0.8) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .dark-mode.page-email-inbox .email-toolbar::after {
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.12), rgba(168,85,247,0.08), transparent);
        }

        .dark-mode.page-email-inbox .email-toolbar .btn-icon:hover {
            background: rgba(99,102,241,0.12) !important;
            color: #818cf8 !important;
        }

        .dark-mode.page-email-inbox .email-toolbar .form-check-input {
            border-color: rgba(99,102,241,0.3);
            background-color: transparent;
        }

        .dark-mode.page-email-inbox .email-toolbar .form-check-input:checked {
            background-color: #6366f1;
            border-color: #6366f1;
        }

        /* --- Email List (Dark) --- */
        .dark-mode.page-email-inbox .email-list {
            scrollbar-color: rgba(99,102,241,0.25) transparent;
        }

        .dark-mode.page-email-inbox .email-list::-webkit-scrollbar-thumb {
            background: rgba(99,102,241,0.22);
        }

        .dark-mode.page-email-inbox .email-list::-webkit-scrollbar-thumb:hover {
            background: rgba(99,102,241,0.4);
        }

        /* Email Item (Dark) */
        .dark-mode.page-email-inbox .email-item::after {
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.06), rgba(168,85,247,0.04), transparent);
        }

        .dark-mode.page-email-inbox .email-item::before {
            background: linear-gradient(180deg, #818cf8, #a78bfa);
        }

        .dark-mode.page-email-inbox .email-item:hover {
            background: rgba(99,102,241,0.06) !important;
        }

        /* Unread (Dark) */
        .dark-mode.page-email-inbox .email-item.unread {
            background: linear-gradient(90deg, rgba(99,102,241,0.08), rgba(30,30,50,0.4)) !important;
            border-left-color: #818cf8 !important;
        }

        .dark-mode.page-email-inbox .email-item.unread:hover {
            background: linear-gradient(90deg, rgba(99,102,241,0.12), rgba(30,30,50,0.5)) !important;
        }

        .dark-mode.page-email-inbox .email-item.unread .email-sender {
            color: #e2e8f0 !important;
        }

        .dark-mode.page-email-inbox .email-item.unread .email-subject {
            color: #cbd5e1 !important;
        }

        /* Star (Dark) */
        .dark-mode.page-email-inbox .email-star:hover svg, .dark-mode.page-email-inbox .email-star:hover i {
            color: #fbbf24 !important;
            filter: drop-shadow(0 0 8px rgba(251,191,36,0.5));
        }

        /* Avatar ring (Dark) */
        .dark-mode.page-email-inbox .email-item:hover .avatar .avatar-placeholder {
            box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
        }

        /* Sender / Subject / Preview (Dark) */
        .dark-mode.page-email-inbox .email-sender {
            color: #cbd5e1;
        }

        .dark-mode.page-email-inbox .email-subject {
            color: #94a3b8;
        }

        .dark-mode.page-email-inbox .email-preview {
            color: #64748b !important;
        }

        /* Time pill (Dark) */
        .dark-mode.page-email-inbox .email-time {
            color: #64748b;
        }

        .dark-mode.page-email-inbox .email-item:hover .email-time {
            background: rgba(99,102,241,0.1);
            color: #818cf8;
        }

        /* Attachment icon (Dark) */
        .dark-mode.page-email-inbox .email-item:hover .email-meta svg, .dark-mode.page-email-inbox .email-item:hover .email-meta i {
            color: #818cf8 !important;
        }

        /* Checkbox (Dark) */
        .dark-mode.page-email-inbox .email-check .form-check-input {
            border-color: rgba(99,102,241,0.3);
            background-color: transparent;
        }

        .dark-mode.page-email-inbox .email-check .form-check-input:checked {
            background-color: #6366f1;
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
        }

        .dark-mode.page-email-inbox .email-check .form-check-input:focus {
            border-color: #818cf8;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
        }

        .dark-mode.page-email-inbox .email-check .form-check-input:hover {
            border-color: #818cf8;
        }

        /* Page background (Dark) */
        .dark-mode.page-email-inbox .page-content {
            background: linear-gradient(160deg, rgba(99,102,241,0.03) 0%, transparent 40%);
        }


/* ===========================================
   Page: app-email-read
   ========================================== */
/* ============================================================
       Premium Glassmorphic Email Client - Read Email Styles
       ============================================================ */

    /* --- Keyframe Animations --- */
    @keyframes attachFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    @keyframes composeGlow {
        0%, 100% { box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); }
        50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.7), 0 0 40px rgba(99, 102, 241, 0.3); }
    }

    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    @keyframes ringPulse {
        0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
        70% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
        100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
    }

    @keyframes avatarRingRotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* --- Email Container --- */
    .page-email-read .email-container {
        border-radius: 16px !important;
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid rgba(99, 102, 241, 0.1) !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(238,242,255,0.85) 100%) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        overflow: hidden;
        position: relative;
    }

    .page-email-read .email-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 16px;
        padding: 1.5px;
        background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(168,85,247,0.15), rgba(99,102,241,0.05));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    /* --- Email Content Scroll --- */
    .page-email-read .email-content {
        overflow-y: auto;
    }

    .page-email-read .email-sidebar {
        overflow-y: auto;
    }

    /* --- Email Sidebar --- */
    .page-email-read .email-sidebar {
        background: linear-gradient(180deg, rgba(238,242,255,0.7) 0%, rgba(245,243,255,0.5) 50%, rgba(255,255,255,0.6) 100%) !important;
        border-right: 1px solid rgba(99, 102, 241, 0.08) !important;
        position: relative;
    }

    /* Compose Button */
    .page-email-read .email-sidebar .btn-primary {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%) !important;
        background-size: 200% 200% !important;
        animation: gradientShift 4s ease infinite;
        border: none !important;
        border-radius: 50px !important;
        padding: 10px 20px !important;
        font-weight: 600 !important;
        letter-spacing: 0.03em;
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .page-email-read .email-sidebar .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5) !important;
        animation: composeGlow 2s ease-in-out infinite;
    }

    /* Sidebar Nav Items */
    .page-email-read .email-nav ul li a {
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 10px !important;
        padding: 9px 14px !important;
        margin-bottom: 2px !important;
        color: var(--body-color);
        font-size: 13.5px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        position: relative;
    }

    .page-email-read .email-nav ul li a svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .page-email-read .email-nav ul li a:hover {
        background: rgba(99, 102, 241, 0.06) !important;
        backdrop-filter: blur(8px);
        transform: translateX(3px);
    }

    .page-email-read .email-nav ul li.active a {
        background: rgba(99, 102, 241, 0.1) !important;
        color: #6366f1 !important;
        font-weight: 600 !important;
    }

    .page-email-read .email-nav ul li.active a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 60%;
        background: linear-gradient(180deg, #6366f1, #8b5cf6);
        border-radius: 0 4px 4px 0;
    }

    /* Sidebar Separator */
    .page-email-read .email-nav hr {
        border: none !important;
        height: 1px !important;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.15), transparent) !important;
        margin: 16px 0 !important;
    }

    /* Label Dots */
    .page-email-read .email-nav .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .page-email-read .email-nav ul li:hover .dot {
        animation: ringPulse 1.2s ease-in-out infinite;
    }

    /* --- Email Detail Card --- */
    .page-email-read .email-content .card {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .page-email-read .email-content .card .card-body {
        padding: 32px 36px !important;
    }

    /* --- Email Detail Header --- */
    .page-email-read .email-detail-header .avatar {
        width: 52px !important;
        height: 52px !important;
        position: relative;
    }

    .page-email-read .email-detail-header .avatar::after {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        background: conic-gradient(#6366f1, #8b5cf6, #a78bfa, #6366f1);
        z-index: -1;
        animation: avatarRingRotate 6s linear infinite;
    }

    .page-email-read .email-detail-header .avatar .avatar-placeholder {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
    }

    .page-email-read .email-detail-header h5 {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em;
    }

    .page-email-read .email-detail-header p.text-muted {
        font-size: 0.85rem;
    }

    /* Action Buttons */
    .page-email-read .email-detail-header .btn-sm {
        border-radius: 50px !important;
        padding: 6px 14px !important;
        font-weight: 500 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .page-email-read .email-detail-header .btn-icon.btn-sm {
        border-radius: 50% !important;
        width: 36px;
        height: 36px;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Star Button - golden glow */
    .page-email-read .email-detail-header .btn-icon.btn-sm:hover {
        background: rgba(245, 185, 66, 0.12) !important;
        color: #f59e0b !important;
        box-shadow: 0 0 16px rgba(245, 185, 66, 0.35);
        transform: translateY(-2px) scale(1.1);
    }

    /* Reply Button - indigo glow */
    .page-email-read .email-detail-header .btn-outline-primary:hover {
        background: linear-gradient(135deg, #6366f1, #818cf8) !important;
        border-color: transparent !important;
        color: #fff !important;
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4) !important;
        transform: translateY(-2px);
    }

    /* Forward Button - teal glow */
    .page-email-read .email-detail-header .btn-outline-secondary:hover {
        background: linear-gradient(135deg, #14b8a6, #2dd4bf) !important;
        border-color: transparent !important;
        color: #fff !important;
        box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4) !important;
        transform: translateY(-2px);
    }

    /* Delete Button - red glow */
    .page-email-read .email-detail-header .btn-outline-danger:hover {
        background: linear-gradient(135deg, #ef4444, #f87171) !important;
        border-color: transparent !important;
        color: #fff !important;
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
        transform: translateY(-2px);
    }

    /* --- Email Subject --- */
    .page-email-read .email-content .card-body > h4 {
        font-size: 1.45rem !important;
        font-weight: 800 !important;
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        border-left: 3px solid #6366f1;
        padding-left: 16px;
        line-height: 1.4;
        letter-spacing: -0.02em;
    }

    /* --- Email Body --- */
    .page-email-read .email-detail-body {
        line-height: 1.8 !important;
        letter-spacing: 0.01em;
        color: #374151;
        font-size: 0.95rem;
    }

    .page-email-read .email-detail-body p {
        margin-bottom: 1.15rem !important;
    }

    .page-email-read .email-detail-body a {
        color: #6366f1 !important;
        text-decoration: none;
        transition: all 0.2s ease;
        border-bottom: 1px solid transparent;
    }

    .page-email-read .email-detail-body a:hover {
        color: #4f46e5 !important;
        border-bottom-color: #6366f1;
    }

    /* --- Attachments Section --- */
    .page-email-read .email-attachments h6 {
        color: #4f46e5 !important;
        font-size: 0.95rem !important;
        display: flex;
        align-items: center;
    }

    .page-email-read .email-attachments h6 svg {
        color: #6366f1;
    }

    .page-email-read .email-attachments .card {
        border: 1px solid rgba(99, 102, 241, 0.12) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden;
        position: relative;
    }

    .page-email-read .email-attachments .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .page-email-read .email-attachments .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        border-color: rgba(99, 102, 241, 0.2) !important;
        animation: attachFloat 2.5s ease-in-out infinite;
    }

    .page-email-read .email-attachments .card:hover::before {
        opacity: 1;
    }

    /* Attachment File Icons */
    .page-email-read .email-attachments .card-body > svg, .page-email-read .email-attachments .card-body > [data-feather] {
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .page-email-read .email-attachments .card .text-danger {
        background: rgba(239, 68, 68, 0.08);
        border-radius: 50%;
        padding: 8px;
    }

    .page-email-read .email-attachments .card .text-success {
        background: rgba(16, 185, 129, 0.08);
        border-radius: 50%;
        padding: 8px;
    }

    .page-email-read .email-attachments .card .text-info {
        background: rgba(6, 182, 212, 0.08);
        border-radius: 50%;
        padding: 8px;
    }

    /* Download Button */
    .page-email-read .email-attachments .btn-outline-primary {
        border-radius: 50px !important;
        padding: 4px 16px !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-color: rgba(99, 102, 241, 0.3) !important;
    }

    .page-email-read .email-attachments .btn-outline-primary:hover {
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        border-color: transparent !important;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
        transform: translateY(-1px);
    }

    /* --- Reply Section --- */
    .page-email-read .email-reply hr {
        border: none !important;
        height: 1.5px !important;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2), transparent) !important;
        margin: 24px 0 !important;
    }

    .page-email-read .email-reply h6 {
        color: #4f46e5;
        font-weight: 700 !important;
    }

    .page-email-read .email-reply .form-control {
        border-radius: 12px !important;
        border: 1.5px solid rgba(99, 102, 241, 0.15) !important;
        padding: 14px 16px !important;
        font-size: 0.92rem;
        transition: all 0.3s ease !important;
        background: rgba(255, 255, 255, 0.8) !important;
        resize: vertical;
    }

    .page-email-read .email-reply .form-control:focus {
        border-color: #6366f1 !important;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 2px 12px rgba(99, 102, 241, 0.1) !important;
        background: #fff !important;
    }

    .page-email-read .email-reply .form-control::placeholder {
        color: #9ca3af;
        font-style: italic;
    }

    /* Send Reply Button */
    .page-email-read .email-reply .btn-primary {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%) !important;
        background-size: 200% 200% !important;
        animation: gradientShift 4s ease infinite;
        border: none !important;
        border-radius: 50px !important;
        padding: 10px 28px !important;
        font-weight: 600 !important;
        letter-spacing: 0.03em;
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .page-email-read .email-reply .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5) !important;
        animation: composeGlow 2s ease-in-out infinite;
    }

    /* --- Custom Scrollbar --- */
    .page-email-read .email-content::-webkit-scrollbar {
        width: 5px;
    }

    .page-email-read .email-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .page-email-read .email-content::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.2);
        border-radius: 10px;
    }

    .page-email-read .email-content::-webkit-scrollbar-thumb:hover {
        background: rgba(99, 102, 241, 0.4);
    }

    .page-email-read .email-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .page-email-read .email-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .page-email-read .email-sidebar::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.15);
        border-radius: 10px;
    }

    /* --- Badge Enhancements --- */
    .page-email-read .email-nav .badge {
        font-weight: 600;
        font-size: 0.7rem;
        letter-spacing: 0.03em;
    }

    /* --- Responsive Refinements --- */
    @media (max-width: 768px) {
        .page-email-read .email-content .card .card-body {
            padding: 20px 18px !important;
        }

        .page-email-read .email-detail-header {
            flex-direction: column !important;
            gap: 16px;
        }

        .page-email-read .email-content .card-body > h4 {
            font-size: 1.2rem !important;
        }

        .page-email-read .email-attachments .card {
            border-radius: 12px !important;
        }
    }

    /* ============================================================
       Dark Mode Variants
       ============================================================ */

    /* --- Dark Mode: Email Container --- */
    .dark-mode.page-email-read .email-container {
        background: linear-gradient(135deg, rgba(30, 32, 48, 0.97) 0%, rgba(24, 24, 40, 0.95) 100%) !important;
        border-color: rgba(99, 102, 241, 0.15) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(99, 102, 241, 0.06) !important;
    }

    .dark-mode.page-email-read .email-container::before {
        background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(168,85,247,0.2), rgba(99,102,241,0.08));
    }

    /* --- Dark Mode: Email Sidebar --- */
    .dark-mode.page-email-read .email-sidebar {
        background: linear-gradient(180deg, rgba(30, 32, 52, 0.8) 0%, rgba(24, 24, 44, 0.6) 50%, rgba(20, 20, 36, 0.7) 100%) !important;
        border-right-color: rgba(99, 102, 241, 0.12) !important;
    }

    .dark-mode.page-email-read .email-sidebar .btn-primary {
        background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #8b5cf6 100%) !important;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4) !important;
    }

    .dark-mode.page-email-read .email-nav ul li a {
        color: #c7c9d9 !important;
    }

    .dark-mode.page-email-read .email-nav ul li a:hover {
        background: rgba(99, 102, 241, 0.1) !important;
        color: #e0e1eb !important;
    }

    .dark-mode.page-email-read .email-nav ul li.active a {
        background: rgba(99, 102, 241, 0.15) !important;
        color: #a5b4fc !important;
    }

    .dark-mode.page-email-read .email-nav hr {
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.18), transparent) !important;
    }

    /* --- Dark Mode: Email Detail Card --- */
    .dark-mode.page-email-read .email-content .card {
        background: transparent !important;
    }

    /* --- Dark Mode: Email Detail Header --- */
    .dark-mode.page-email-read .email-detail-header h5 {
        color: #e5e7eb !important;
    }

    .dark-mode.page-email-read .email-detail-header .avatar::after {
        background: conic-gradient(#818cf8, #a78bfa, #c4b5fd, #818cf8);
    }

    /* Dark Mode: Action Buttons */
    .dark-mode.page-email-read .email-detail-header .btn-icon.btn-sm {
        color: #9ca3af;
    }

    .dark-mode.page-email-read .email-detail-header .btn-icon.btn-sm:hover {
        background: rgba(245, 185, 66, 0.15) !important;
        color: #fbbf24 !important;
        box-shadow: 0 0 18px rgba(245, 185, 66, 0.25);
    }

    .dark-mode.page-email-read .email-detail-header .btn-outline-primary {
        border-color: rgba(99, 102, 241, 0.35) !important;
        color: #a5b4fc !important;
    }

    .dark-mode.page-email-read .email-detail-header .btn-outline-primary:hover {
        background: linear-gradient(135deg, #6366f1, #818cf8) !important;
        color: #fff !important;
        box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45) !important;
    }

    .dark-mode.page-email-read .email-detail-header .btn-outline-secondary {
        border-color: rgba(156, 163, 175, 0.3) !important;
        color: #9ca3af !important;
    }

    .dark-mode.page-email-read .email-detail-header .btn-outline-secondary:hover {
        background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
        color: #fff !important;
        box-shadow: 0 4px 18px rgba(20, 184, 166, 0.4) !important;
    }

    .dark-mode.page-email-read .email-detail-header .btn-outline-danger {
        border-color: rgba(239, 68, 68, 0.3) !important;
        color: #f87171 !important;
    }

    .dark-mode.page-email-read .email-detail-header .btn-outline-danger:hover {
        background: linear-gradient(135deg, #dc2626, #ef4444) !important;
        color: #fff !important;
        box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4) !important;
    }

    /* --- Dark Mode: Email Subject --- */
    .dark-mode.page-email-read .email-content .card-body > h4 {
        background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #818cf8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        border-left-color: #818cf8;
    }

    /* --- Dark Mode: Email Body --- */
    .dark-mode.page-email-read .email-detail-body {
        color: #c9cbd6 !important;
    }

    .dark-mode.page-email-read .email-detail-body p {
        color: #c9cbd6 !important;
    }

    .dark-mode.page-email-read .email-detail-body a {
        color: #a5b4fc !important;
    }

    .dark-mode.page-email-read .email-detail-body a:hover {
        color: #c4b5fd !important;
        border-bottom-color: #a5b4fc;
    }

    /* --- Dark Mode: Attachments --- */
    .dark-mode.page-email-read .email-attachments h6 {
        color: #a5b4fc !important;
    }

    .dark-mode.page-email-read .email-attachments .card {
        background: rgba(30, 32, 52, 0.7) !important;
        border-color: rgba(99, 102, 241, 0.15) !important;
        backdrop-filter: blur(10px) !important;
    }

    .dark-mode.page-email-read .email-attachments .card::before {
        background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
    }

    .dark-mode.page-email-read .email-attachments .card:hover {
        border-color: rgba(99, 102, 241, 0.25) !important;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), 0 0 12px rgba(99, 102, 241, 0.1) !important;
    }

    .dark-mode.page-email-read .email-attachments .card .text-danger {
        background: rgba(239, 68, 68, 0.12);
    }

    .dark-mode.page-email-read .email-attachments .card .text-success {
        background: rgba(16, 185, 129, 0.12);
    }

    .dark-mode.page-email-read .email-attachments .card .text-info {
        background: rgba(6, 182, 212, 0.12);
    }

    .dark-mode.page-email-read .email-attachments .card p {
        color: #e0e1eb !important;
    }

    .dark-mode.page-email-read .email-attachments .btn-outline-primary {
        border-color: rgba(99, 102, 241, 0.35) !important;
        color: #a5b4fc !important;
    }

    .dark-mode.page-email-read .email-attachments .btn-outline-primary:hover {
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
    }

    /* --- Dark Mode: Reply Section --- */
    .dark-mode.page-email-read .email-reply hr {
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.22), transparent) !important;
    }

    .dark-mode.page-email-read .email-reply h6 {
        color: #a5b4fc;
    }

    .dark-mode.page-email-read .email-reply .form-control {
        background: rgba(20, 20, 36, 0.6) !important;
        border-color: rgba(99, 102, 241, 0.2) !important;
        color: #d1d5db !important;
    }

    .dark-mode.page-email-read .email-reply .form-control:focus {
        background: rgba(24, 24, 44, 0.8) !important;
        border-color: #6366f1 !important;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), 0 2px 12px rgba(99, 102, 241, 0.12) !important;
        color: #e5e7eb !important;
    }

    .dark-mode.page-email-read .email-reply .form-control::placeholder {
        color: #6b7280;
    }

    .dark-mode.page-email-read .email-reply .btn-primary {
        background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #8b5cf6 100%) !important;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35) !important;
    }

    .dark-mode.page-email-read .email-reply .btn-primary:hover {
        box-shadow: 0 6px 28px rgba(99, 102, 241, 0.55) !important;
    }

    /* --- Dark Mode: Custom Scrollbar --- */
    .dark-mode.page-email-read .email-content::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.25);
    }

    .dark-mode.page-email-read .email-content::-webkit-scrollbar-thumb:hover {
        background: rgba(99, 102, 241, 0.45);
    }

    .dark-mode.page-email-read .email-sidebar::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.2);
    }

    /* --- Dark Mode: Badges --- */
    .dark-mode.page-email-read .email-nav .badge.bg-primary {
        background: rgba(99, 102, 241, 0.2) !important;
        color: #a5b4fc !important;
    }

    .dark-mode.page-email-read .email-nav .badge.bg-secondary {
        background: rgba(107, 114, 128, 0.2) !important;
        color: #9ca3af !important;
    }

    .dark-mode.page-email-read .email-nav .badge.bg-danger {
        background: rgba(239, 68, 68, 0.15) !important;
        color: #fca5a5 !important;
    }

    /* --- Selection Color --- */
    .page-email-read .email-content ::selection {
        background: rgba(99, 102, 241, 0.2);
        color: inherit;
    }

    .dark-mode.page-email-read .email-content ::selection {
        background: rgba(99, 102, 241, 0.3);
        color: inherit;
    }


/* ===========================================
   Page: app-file-folders
   ========================================== */
/* ============================================================
           ARCHIVE CRYSTAL THEME
           Premium Glassmorphic Folder Experience
           ============================================================ */

        /* --- Keyframe Animations --- */
        @keyframes folderFloat {
            0%, 100% {
                transform: translateY(0px);
            }
            25% {
                transform: translateY(-4px) rotate(0.5deg);
            }
            50% {
                transform: translateY(-7px);
            }
            75% {
                transform: translateY(-4px) rotate(-0.5deg);
            }
        }

        @keyframes shimmerBorder {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes fadeInScale {
            0% {
                opacity: 0;
                transform: scale(0.88) translateY(18px);
            }
            60% {
                opacity: 1;
                transform: scale(1.02) translateY(-2px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        @keyframes progressGlow {
            0%, 100% {
                box-shadow: 0 0 8px rgba(99, 102, 241, 0.4),
                            0 0 16px rgba(99, 102, 241, 0.15);
            }
            50% {
                box-shadow: 0 0 14px rgba(139, 92, 246, 0.6),
                            0 0 28px rgba(139, 92, 246, 0.25);
            }
        }

        @keyframes uploadShimmer {
            0% {
                background-position: -200% center;
            }
            100% {
                background-position: 200% center;
            }
        }

        @keyframes iconBounce {
            0%, 100% {
                transform: scale(1);
            }
            40% {
                transform: scale(1.18);
            }
            60% {
                transform: scale(1.08);
            }
            80% {
                transform: scale(1.14);
            }
        }

        @keyframes pulseRing {
            0% {
                transform: scale(1);
                opacity: 0.5;
            }
            100% {
                transform: scale(1.6);
                opacity: 0;
            }
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* --- Base Page Refinements --- */
        .page-file-folders .page-content {
            position: relative !important;
        }

        .page-file-folders .page-content::before {
            content: '' !important;
            position: fixed !important;
            top: -50% !important;
            right: -30% !important;
            width: 600px !important;
            height: 600px !important;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%) !important;
            border-radius: 50% !important;
            pointer-events: none !important;
            z-index: 0 !important;
        }

        /* --- Upload Button: Gradient with Shimmer --- */
        .page-file-folders .page-header-actions .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%) !important;
            border: none !important;
            border-radius: 12px !important;
            padding: 10px 24px !important;
            font-weight: 600 !important;
            letter-spacing: 0.3px !important;
            position: relative !important;
            overflow: hidden !important;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35),
                        0 2px 6px rgba(99, 102, 241, 0.2) !important;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
            z-index: 1 !important;
        }

        .page-file-folders .page-header-actions .btn-primary::before {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.25) 45%,
                rgba(255, 255, 255, 0.35) 50%,
                rgba(255, 255, 255, 0.25) 55%,
                transparent 100%
            ) !important;
            background-size: 200% 100% !important;
            animation: uploadShimmer 3s ease-in-out infinite !important;
            z-index: -1 !important;
            border-radius: 12px !important;
        }

        .page-file-folders .page-header-actions .btn-primary:hover {
            transform: translateY(-2px) scale(1.04) !important;
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45),
                        0 4px 10px rgba(139, 92, 246, 0.3) !important;
        }

        .page-file-folders .page-header-actions .btn-primary:active {
            transform: translateY(0) scale(0.98) !important;
        }

        /* --- Sidebar Card: Glass with Gradient Storage --- */
        .page-file-folders .col-xl-3 > .card {
            background: rgba(255, 255, 255, 0.65) !important;
            backdrop-filter: blur(20px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.5) !important;
            border-radius: 20px !important;
            box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08),
                        0 2px 8px rgba(0, 0, 0, 0.04),
                        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
            overflow: hidden !important;
        }

        .page-file-folders .col-xl-3 > .card::before {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            height: 3px !important;
            background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa, #6366f1) !important;
            background-size: 300% 100% !important;
            animation: gradientShift 4s ease infinite !important;
        }

        .page-file-folders .col-xl-3 > .card:hover {
            box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12),
                        0 4px 12px rgba(0, 0, 0, 0.06),
                        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
        }

        /* --- Storage Progress Bar: Indigo-Purple Gradient with Glow --- */
        .page-file-folders .col-xl-3 > .card .progress {
            background: rgba(99, 102, 241, 0.08) !important;
            border-radius: 10px !important;
            overflow: visible !important;
            height: 10px !important;
            border: 1px solid rgba(99, 102, 241, 0.1) !important;
        }

        .page-file-folders .col-xl-3 > .card .progress-bar {
            background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%) !important;
            border-radius: 10px !important;
            position: relative !important;
            animation: progressGlow 2.5s ease-in-out infinite !important;
            transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        .page-file-folders .col-xl-3 > .card .progress-bar::after {
            content: '' !important;
            position: absolute !important;
            right: -4px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            width: 16px !important;
            height: 16px !important;
            background: #8b5cf6 !important;
            border: 3px solid #fff !important;
            border-radius: 50% !important;
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5) !important;
        }

        /* --- Quick Access Nav: Glass Hover with Active Accent --- */
        .page-file-folders .col-xl-3 > .card .nav-link {
            border-radius: 10px !important;
            padding: 10px 14px !important;
            margin: 2px 0 !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            position: relative !important;
            overflow: hidden !important;
            color: #4b5563 !important;
        }

        .page-file-folders .col-xl-3 > .card .nav-link::before {
            content: '' !important;
            position: absolute !important;
            left: 0 !important;
            top: 50% !important;
            transform: translateY(-50%) scaleY(0) !important;
            width: 3px !important;
            height: 60% !important;
            background: linear-gradient(180deg, #6366f1, #8b5cf6) !important;
            border-radius: 0 4px 4px 0 !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        .page-file-folders .col-xl-3 > .card .nav-link:hover {
            background: rgba(99, 102, 241, 0.06) !important;
            backdrop-filter: blur(10px) !important;
            color: #4338ca !important;
            padding-left: 18px !important;
        }

        .page-file-folders .col-xl-3 > .card .nav-link:hover::before {
            transform: translateY(-50%) scaleY(1) !important;
        }

        .page-file-folders .col-xl-3 > .card .nav-link:hover svg, .page-file-folders .col-xl-3 > .card .nav-link:hover i {
            filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4)) !important;
            color: #6366f1 !important;
        }

        .page-file-folders .col-xl-3 > .card .nav-link .badge {
            transition: all 0.3s ease !important;
        }

        .page-file-folders .col-xl-3 > .card .nav-link:hover .badge {
            transform: scale(1.1) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        }

        /* --- Folder Cards: Glass with Hover Lift & Shimmer Border --- */
        .page-file-folders .col-xl-9 .col-xl-3 .card, .page-file-folders .col-xl-9 .col-lg-4 .card, .page-file-folders .col-xl-9 .col-md-6 .card {
            background: rgba(255, 255, 255, 0.55) !important;
            backdrop-filter: blur(18px) saturate(170%) !important;
            -webkit-backdrop-filter: blur(18px) saturate(170%) !important;
            border: 1px solid rgba(255, 255, 255, 0.45) !important;
            border-radius: 18px !important;
            position: relative !important;
            overflow: hidden !important;
            cursor: pointer !important;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04),
                        0 1px 4px rgba(0, 0, 0, 0.03) !important;
        }

        /* Shimmer border via ::before */
        .page-file-folders .col-xl-9 .col-xl-3 .card::before, .page-file-folders .col-xl-9 .col-lg-4 .card::before, .page-file-folders .col-xl-9 .col-md-6 .card::before {
            content: '' !important;
            position: absolute !important;
            inset: -1px !important;
            border-radius: 18px !important;
            padding: 1.5px !important;
            background: linear-gradient(
                135deg,
                rgba(99, 102, 241, 0.15),
                rgba(139, 92, 246, 0.25),
                rgba(245, 158, 11, 0.2),
                rgba(99, 102, 241, 0.15),
                rgba(168, 85, 247, 0.3),
                rgba(99, 102, 241, 0.15)
            ) !important;
            background-size: 300% 300% !important;
            animation: shimmerBorder 6s ease infinite !important;
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0) !important;
            mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0) !important;
            -webkit-mask-composite: xor !important;
            mask-composite: exclude !important;
            opacity: 0 !important;
            transition: opacity 0.4s ease !important;
            z-index: 1 !important;
            pointer-events: none !important;
        }

        /* Gradient reflection at bottom via ::after */
        .page-file-folders .col-xl-9 .col-xl-3 .card::after, .page-file-folders .col-xl-9 .col-lg-4 .card::after, .page-file-folders .col-xl-9 .col-md-6 .card::after {
            content: '' !important;
            position: absolute !important;
            bottom: 0 !important;
            left: 5% !important;
            right: 5% !important;
            height: 40% !important;
            background: linear-gradient(
                to top,
                rgba(99, 102, 241, 0.04) 0%,
                rgba(139, 92, 246, 0.02) 30%,
                transparent 100%
            ) !important;
            border-radius: 0 0 18px 18px !important;
            pointer-events: none !important;
            z-index: 0 !important;
            transition: opacity 0.4s ease !important;
        }

        /* Hover: lift, shadows, border shimmer */
        .page-file-folders .col-xl-9 .col-xl-3 .card:hover, .page-file-folders .col-xl-9 .col-lg-4 .card:hover, .page-file-folders .col-xl-9 .col-md-6 .card:hover {
            transform: translateY(-6px) !important;
            box-shadow: 0 12px 36px rgba(99, 102, 241, 0.12),
                        0 6px 16px rgba(139, 92, 246, 0.08),
                        0 2px 6px rgba(0, 0, 0, 0.05),
                        0 20px 40px -10px rgba(99, 102, 241, 0.15) !important;
            border-color: rgba(139, 92, 246, 0.15) !important;
        }

        .page-file-folders .col-xl-9 .col-xl-3 .card:hover::before, .page-file-folders .col-xl-9 .col-lg-4 .card:hover::before, .page-file-folders .col-xl-9 .col-md-6 .card:hover::before {
            opacity: 1 !important;
        }

        .page-file-folders .col-xl-9 .col-xl-3 .card:hover::after, .page-file-folders .col-xl-9 .col-lg-4 .card:hover::after, .page-file-folders .col-xl-9 .col-md-6 .card:hover::after {
            opacity: 0.7 !important;
        }

        /* --- Staggered Entrance Animations --- */
        .page-file-folders .col-xl-9 .row.g-4 > .col-xl-3:nth-child(1) .card, .page-file-folders .col-xl-9 .row.g-4 > .col-lg-4:nth-child(1) .card, .page-file-folders .col-xl-9 .row.g-4 > .col-md-6:nth-child(1) .card, .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(1) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(2) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(3) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(4) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(5) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(6) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(7) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(8) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(9) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(10) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(11) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both !important;
        }
        .page-file-folders .col-xl-9 .row.g-4 > div:nth-child(12) .card {
            animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both !important;
        }

        /* --- Folder Icon Wrapper: Amber Glow & Spring Scale --- */
        .page-file-folders .col-xl-9 .bg-soft-warning {
            position: relative !important;
            border-radius: 16px !important;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(252, 211, 77, 0.12) 100%) !important;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
            z-index: 2 !important;
        }

        .page-file-folders .col-xl-9 .bg-soft-warning::after {
            content: '' !important;
            position: absolute !important;
            inset: -4px !important;
            border-radius: 20px !important;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%) !important;
            opacity: 0 !important;
            transition: opacity 0.4s ease !important;
            z-index: -1 !important;
            pointer-events: none !important;
        }

        .page-file-folders .col-xl-9 .card:hover .bg-soft-warning {
            transform: scale(1.15) !important;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(252, 211, 77, 0.22) 100%) !important;
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2),
                        0 2px 8px rgba(245, 158, 11, 0.15) !important;
            animation: iconBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        }

        .page-file-folders .col-xl-9 .card:hover .bg-soft-warning::after {
            opacity: 1 !important;
            animation: pulseRing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite !important;
        }

        .page-file-folders .col-xl-9 .bg-soft-warning .text-warning, .page-file-folders .col-xl-9 .bg-soft-warning svg {
            transition: all 0.35s ease !important;
            filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3)) !important;
        }

        .page-file-folders .col-xl-9 .card:hover .bg-soft-warning .text-warning, .page-file-folders .col-xl-9 .card:hover .bg-soft-warning svg {
            filter: drop-shadow(0 3px 8px rgba(245, 158, 11, 0.45)) !important;
            animation: folderFloat 3s ease-in-out infinite !important;
        }

        /* --- Folder Name: Gradient Text on Hover --- */
        .page-file-folders .col-xl-9 .card .card-body h6.fw-semibold {
            transition: all 0.35s ease !important;
            font-size: 0.95rem !important;
            letter-spacing: 0.2px !important;
            color: #1e293b !important;
            position: relative !important;
            z-index: 2 !important;
        }

        .page-file-folders .col-xl-9 .card:hover .card-body h6.fw-semibold {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            font-weight: 700 !important;
        }

        /* --- File Count & Size: Clean Muted Typography --- */
        .page-file-folders .col-xl-9 .card .card-body p.text-muted.small {
            font-size: 0.8rem !important;
            letter-spacing: 0.15px !important;
            color: #6b7280 !important;
            transition: color 0.3s ease !important;
            position: relative !important;
            z-index: 2 !important;
            line-height: 1.5 !important;
        }

        .page-file-folders .col-xl-9 .card:hover .card-body p.text-muted.small {
            color: #4b5563 !important;
        }

        /* --- Modified Date: Pill-Shaped Subtle Background --- */
        .page-file-folders .col-xl-9 .card .card-body small.text-muted {
            display: inline-block !important;
            background: rgba(99, 102, 241, 0.06) !important;
            border: 1px solid rgba(99, 102, 241, 0.08) !important;
            padding: 3px 12px !important;
            border-radius: 20px !important;
            font-size: 0.72rem !important;
            letter-spacing: 0.3px !important;
            color: #6b7280 !important;
            transition: all 0.3s ease !important;
            position: relative !important;
            z-index: 2 !important;
            margin-top: 2px !important;
        }

        .page-file-folders .col-xl-9 .card:hover .card-body small.text-muted {
            background: rgba(99, 102, 241, 0.1) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            color: #6366f1 !important;
        }

        /* --- Sidebar Storage Section Typography --- */
        .page-file-folders .col-xl-3 > .card h6.fw-semibold {
            color: #1e293b !important;
            font-size: 0.85rem !important;
            text-transform: uppercase !important;
            letter-spacing: 0.8px !important;
        }

        .page-file-folders .col-xl-3 > .card .text-muted.small {
            font-size: 0.78rem !important;
            color: #6b7280 !important;
        }

        /* --- Page Header Enhancements --- */
        .page-file-folders .page-title {
            font-weight: 700 !important;
            background: linear-gradient(135deg, #1e293b 0%, #475569 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
        }

        .page-file-folders .breadcrumb-item a {
            transition: color 0.25s ease !important;
        }

        .page-file-folders .breadcrumb-item a:hover {
            color: #6366f1 !important;
        }

        /* ============================================================
           DARK MODE
           ============================================================ */
        .dark-mode.page-file-folders .page-content::before {
            background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%) !important;
        }

        /* Dark mode sidebar card */
        .dark-mode.page-file-folders .col-xl-3 > .card {
            background: rgba(30, 32, 48, 0.75) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
                        0 2px 8px rgba(0, 0, 0, 0.15),
                        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        }

        .dark-mode.page-file-folders .col-xl-3 > .card:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
                        0 4px 12px rgba(0, 0, 0, 0.2),
                        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
        }

        .dark-mode.page-file-folders .col-xl-3 > .card h6.fw-semibold {
            color: #e2e8f0 !important;
        }

        .dark-mode.page-file-folders .col-xl-3 > .card .text-muted.small {
            color: #94a3b8 !important;
        }

        .dark-mode.page-file-folders .col-xl-3 > .card .progress {
            background: rgba(99, 102, 241, 0.12) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
        }

        .dark-mode.page-file-folders .col-xl-3 > .card .nav-link {
            color: #94a3b8 !important;
        }

        .dark-mode.page-file-folders .col-xl-3 > .card .nav-link:hover {
            background: rgba(99, 102, 241, 0.1) !important;
            color: #a5b4fc !important;
        }

        /* Dark mode folder cards */
        .dark-mode.page-file-folders .col-xl-9 .col-xl-3 .card, .dark-mode.page-file-folders .col-xl-9 .col-lg-4 .card, .dark-mode.page-file-folders .col-xl-9 .col-md-6 .card {
            background: rgba(30, 32, 48, 0.7) !important;
            border-color: rgba(99, 102, 241, 0.12) !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                        0 1px 4px rgba(0, 0, 0, 0.15) !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .col-xl-3 .card:hover, .dark-mode.page-file-folders .col-xl-9 .col-lg-4 .card:hover, .dark-mode.page-file-folders .col-xl-9 .col-md-6 .card:hover {
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35),
                        0 6px 16px rgba(99, 102, 241, 0.1),
                        0 2px 6px rgba(0, 0, 0, 0.2),
                        0 20px 40px -10px rgba(99, 102, 241, 0.12) !important;
            border-color: rgba(139, 92, 246, 0.2) !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card::after {
            background: linear-gradient(
                to top,
                rgba(99, 102, 241, 0.06) 0%,
                rgba(139, 92, 246, 0.03) 30%,
                transparent 100%
            ) !important;
        }

        /* Dark mode folder icon: brighter amber glow */
        .dark-mode.page-file-folders .col-xl-9 .bg-soft-warning {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(252, 211, 77, 0.18) 100%) !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card:hover .bg-soft-warning {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(252, 211, 77, 0.32) 100%) !important;
            box-shadow: 0 6px 24px rgba(245, 158, 11, 0.3),
                        0 2px 10px rgba(245, 158, 11, 0.25) !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card:hover .bg-soft-warning::after {
            background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 70%) !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card:hover .bg-soft-warning .text-warning, .dark-mode.page-file-folders .col-xl-9 .card:hover .bg-soft-warning svg {
            filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.55)) !important;
        }

        /* Dark mode folder name */
        .dark-mode.page-file-folders .col-xl-9 .card .card-body h6.fw-semibold {
            color: #e2e8f0 !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card:hover .card-body h6.fw-semibold {
            background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
        }

        /* Dark mode file count / size */
        .dark-mode.page-file-folders .col-xl-9 .card .card-body p.text-muted.small {
            color: #94a3b8 !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card:hover .card-body p.text-muted.small {
            color: #cbd5e1 !important;
        }

        /* Dark mode modified date pill */
        .dark-mode.page-file-folders .col-xl-9 .card .card-body small.text-muted {
            background: rgba(99, 102, 241, 0.1) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            color: #94a3b8 !important;
        }

        .dark-mode.page-file-folders .col-xl-9 .card:hover .card-body small.text-muted {
            background: rgba(99, 102, 241, 0.18) !important;
            border-color: rgba(99, 102, 241, 0.25) !important;
            color: #a5b4fc !important;
        }

        /* Dark mode upload button */
        .dark-mode.page-file-folders .page-header-actions .btn-primary {
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25),
                        0 2px 6px rgba(0, 0, 0, 0.2) !important;
        }

        .dark-mode.page-file-folders .page-header-actions .btn-primary:hover {
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35),
                        0 4px 10px rgba(0, 0, 0, 0.25) !important;
        }

        /* Dark mode page title */
        .dark-mode.page-file-folders .page-title {
            background: linear-gradient(135deg, #e2e8f0 0%, #a5b4fc 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
        }

        /* Dark mode shimmer border: brighter colors */
        .dark-mode.page-file-folders .col-xl-9 .col-xl-3 .card::before, .dark-mode.page-file-folders .col-xl-9 .col-lg-4 .card::before, .dark-mode.page-file-folders .col-xl-9 .col-md-6 .card::before {
            background: linear-gradient(
                135deg,
                rgba(129, 140, 248, 0.2),
                rgba(167, 139, 250, 0.35),
                rgba(252, 211, 77, 0.25),
                rgba(129, 140, 248, 0.2),
                rgba(192, 132, 252, 0.4),
                rgba(129, 140, 248, 0.2)
            ) !important;
            background-size: 300% 300% !important;
        }

        /* ============================================================
           RESPONSIVE ADJUSTMENTS
           ============================================================ */

        /* Tablets and smaller desktops */
        @media (max-width: 1199.98px) {
            .page-file-folders .col-xl-9 .row.g-4 > div {
                flex: 0 0 33.333% !important;
                max-width: 33.333% !important;
            }

            .page-file-folders .col-xl-3 > .card {
                border-radius: 16px !important;
                margin-bottom: 1rem !important;
            }
        }

        /* Tablets */
        @media (max-width: 991.98px) {
            .page-file-folders .col-xl-9 .row.g-4 > div {
                flex: 0 0 50% !important;
                max-width: 50% !important;
            }

            .page-file-folders .col-xl-9 .col-xl-3 .card, .page-file-folders .col-xl-9 .col-lg-4 .card, .page-file-folders .col-xl-9 .col-md-6 .card {
                border-radius: 16px !important;
            }

            .page-file-folders .col-xl-9 .card .card-body.p-4 {
                padding: 1.25rem !important;
            }
        }

        /* Mobile landscape */
        @media (max-width: 767.98px) {
            .page-file-folders .col-xl-9 .row.g-4 > div {
                flex: 0 0 50% !important;
                max-width: 50% !important;
            }

            .page-file-folders .col-xl-9 .row.g-4 {
                --bs-gutter-x: 0.75rem !important;
                --bs-gutter-y: 0.75rem !important;
            }

            .page-file-folders .col-xl-9 .col-xl-3 .card, .page-file-folders .col-xl-9 .col-lg-4 .card, .page-file-folders .col-xl-9 .col-md-6 .card {
                border-radius: 14px !important;
            }

            .page-file-folders .col-xl-9 .bg-soft-warning {
                border-radius: 12px !important;
            }

            .page-file-folders .col-xl-9 .card .card-body h6.fw-semibold {
                font-size: 0.88rem !important;
            }

            .page-file-folders .col-xl-9 .card .card-body small.text-muted {
                padding: 2px 10px !important;
                font-size: 0.68rem !important;
            }

            .page-file-folders .page-header-actions .btn-primary {
                padding: 8px 18px !important;
                font-size: 0.85rem !important;
                border-radius: 10px !important;
            }
        }

        /* Mobile portrait */
        @media (max-width: 575.98px) {
            .page-file-folders .col-xl-9 .row.g-4 > div {
                flex: 0 0 50% !important;
                max-width: 50% !important;
            }

            .page-file-folders .col-xl-9 .row.g-4 {
                --bs-gutter-x: 0.5rem !important;
                --bs-gutter-y: 0.5rem !important;
            }

            .page-file-folders .col-xl-9 .col-xl-3 .card, .page-file-folders .col-xl-9 .col-lg-4 .card, .page-file-folders .col-xl-9 .col-md-6 .card {
                border-radius: 12px !important;
            }

            .page-file-folders .col-xl-9 .card .card-body.p-4 {
                padding: 1rem !important;
            }

            .page-file-folders .col-xl-9 .bg-soft-warning {
                border-radius: 10px !important;
            }

            .page-file-folders .col-xl-9 .bg-soft-warning svg, .page-file-folders .col-xl-9 .bg-soft-warning i {
                width: 32px !important;
                height: 32px !important;
            }

            .page-file-folders .col-xl-3 > .card {
                border-radius: 14px !important;
            }

            .page-file-folders .col-xl-9 .card .card-body h6.fw-semibold {
                font-size: 0.82rem !important;
            }

            .page-file-folders .col-xl-9 .card .card-body p.text-muted.small {
                font-size: 0.72rem !important;
            }

            .page-file-folders .col-xl-9 .card .card-body small.text-muted {
                padding: 2px 8px !important;
                font-size: 0.65rem !important;
            }

            /* Reduce animation intensity on mobile */
            .page-file-folders .col-xl-9 .card:hover .bg-soft-warning {
                transform: scale(1.08) !important;
            }

            .page-file-folders .col-xl-9 .col-xl-3 .card:hover, .page-file-folders .col-xl-9 .col-lg-4 .card:hover, .page-file-folders .col-xl-9 .col-md-6 .card:hover {
                transform: translateY(-3px) !important;
            }
        }


/* ===========================================
   Page: app-file-manager
   ========================================== */
/* ==========================================================================
           CLOUD VAULT THEME - Premium Glassmorphic File Manager
           Version: 2.0 | Designed for Droom File Manager
           ========================================================================== */

        /* ---------- Keyframe Animations ---------- */
        @keyframes fileFloat {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-6px);
            }
        }

        @keyframes progressGlow {
            0%, 100% {
                box-shadow: 0 0 8px rgba(99, 102, 241, 0.4), 0 0 16px rgba(139, 92, 246, 0.2);
                background-position: 0% 50%;
            }
            50% {
                box-shadow: 0 0 16px rgba(99, 102, 241, 0.7), 0 0 32px rgba(139, 92, 246, 0.4);
                background-position: 100% 50%;
            }
        }

        @keyframes folderBounce {
            0%, 100% {
                transform: scale(1.1) translateY(0);
            }
            40% {
                transform: scale(1.1) translateY(-4px);
            }
            60% {
                transform: scale(1.1) translateY(-2px);
            }
        }

        @keyframes borderShimmer {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes uploadShimmer {
            0% {
                background-position: -200% center;
            }
            100% {
                background-position: 200% center;
            }
        }

        @keyframes pulseGlow {
            0%, 100% {
                opacity: 0.6;
            }
            50% {
                opacity: 1;
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ---------- Base Override: File Grid uses Bootstrap row/col, not CSS Grid ---------- */
        .page-file-manager .file-grid {
            display: block !important;
        }

        .page-file-manager .file-icon {
            width: auto !important;
            height: auto !important;
        }

        /* ---------- Base Page Background ---------- */
        .page-file-manager .page-content {
            background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 25%, #f3f0ff 50%, #eef2ff 75%, #f0f4ff 100%) !important;
            min-height: 100vh;
            position: relative;
        }

        .page-file-manager .page-content::before {
            content: '';
            position: fixed;
            top: -50%;
            right: -30%;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        .page-file-manager .page-content::after {
            content: '';
            position: fixed;
            bottom: -30%;
            left: -20%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        /* ---------- Page Header & Upload Button ---------- */
        .page-file-manager .page-header {
            position: relative;
            z-index: 2;
        }

        .page-file-manager .page-header .page-title {
            background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
            font-weight: 700 !important;
        }

        .page-file-manager .page-header-actions .btn-primary {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%) !important;
            border: none !important;
            border-radius: 12px !important;
            padding: 10px 24px !important;
            font-weight: 600 !important;
            letter-spacing: 0.3px !important;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            position: relative;
            overflow: hidden;
        }

        .page-file-manager .page-header-actions .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -200%;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: none;
            animation: none;
        }

        .page-file-manager .page-header-actions .btn-primary:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45), 0 3px 8px rgba(0, 0, 0, 0.1) !important;
        }

        .page-file-manager .page-header-actions .btn-primary:hover::before {
            animation: uploadShimmer 1.2s ease-in-out !important;
        }

        .page-file-manager .page-header-actions .btn-primary .btn-icon-prepend {
            filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
        }

        .page-file-manager .page-header-actions .btn-primary:hover .btn-icon-prepend {
            filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) !important;
        }

        /* ---------- Sidebar Card (col-xl-3) ---------- */
        .page-file-manager .col-xl-3 > .card {
            background: rgba(255, 255, 255, 0.6) !important;
            backdrop-filter: blur(20px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.7) !important;
            border-radius: 20px !important;
            box-shadow:
                0 8px 32px rgba(99, 102, 241, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        .page-file-manager .col-xl-3 > .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
            border-radius: 4px 0 0 4px;
        }

        .page-file-manager .col-xl-3 > .card:hover {
            box-shadow:
                0 12px 40px rgba(99, 102, 241, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        }

        .page-file-manager .col-xl-3 > .card h6.fw-semibold {
            color: #4338ca !important;
            text-transform: uppercase;
            font-size: 0.7rem !important;
            letter-spacing: 1.2px !important;
        }

        /* ---------- Storage Progress Bar ---------- */
        .page-file-manager .col-xl-3 .progress {
            background: rgba(226, 232, 240, 0.5) !important;
            border-radius: 12px !important;
            overflow: visible !important;
            height: 10px !important;
            backdrop-filter: blur(4px);
        }

        .page-file-manager .col-xl-3 .progress-bar {
            background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 40%, #a78bfa 70%, #8b5cf6 100%) !important;
            background-size: 200% 100% !important;
            border-radius: 12px !important;
            position: relative;
            animation: progressGlow 3s ease-in-out infinite !important;
            overflow: visible !important;
        }

        .page-file-manager .col-xl-3 .progress-bar::after {
            content: '';
            position: absolute;
            right: -2px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #8b5cf6;
            border: 3px solid #fff;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
            animation: pulseGlow 2s ease-in-out infinite;
        }

        /* ---------- Quick Access Nav Links ---------- */
        .page-file-manager .col-xl-3 .nav.flex-column .nav-link {
            border-radius: 12px !important;
            margin: 2px 0 !important;
            padding: 10px 14px !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            position: relative;
            color: #475569 !important;
            font-weight: 500 !important;
            border: 1px solid transparent !important;
        }

        .page-file-manager .col-xl-3 .nav.flex-column .nav-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%) scaleY(0);
            width: 3px;
            height: 60%;
            background: linear-gradient(180deg, #6366f1, #8b5cf6);
            border-radius: 0 4px 4px 0;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover {
            background: rgba(99, 102, 241, 0.06) !important;
            border-color: rgba(99, 102, 241, 0.1) !important;
            transform: translateX(6px) !important;
            color: #4338ca !important;
        }

        .page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover::before {
            transform: translateY(-50%) scaleY(1) !important;
        }

        .page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover svg, .page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover [data-feather] {
            filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5)) !important;
            color: #6366f1 !important;
        }

        .page-file-manager .col-xl-3 .nav.flex-column .nav-link .badge {
            transition: all 0.3s ease !important;
        }

        .page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover .badge {
            transform: scale(1.08) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        }

        /* ---------- Main Content Card (col-xl-9) ---------- */
        .page-file-manager .col-xl-9 > .card {
            background: rgba(255, 255, 255, 0.55) !important;
            backdrop-filter: blur(24px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.65) !important;
            border-radius: 20px !important;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.06),
                0 2px 8px rgba(0, 0, 0, 0.03),
                0 20px 60px rgba(99, 102, 241, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }

        /* ---------- Breadcrumb Toolbar ---------- */
        .page-file-manager .col-xl-9 .card-body > .d-flex:first-child {
            background: rgba(248, 250, 255, 0.7) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border-radius: 14px !important;
            padding: 14px 20px !important;
            border: 1px solid rgba(226, 232, 240, 0.5) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
        }

        .page-file-manager .col-xl-9 .breadcrumb {
            background: transparent !important;
        }

        .page-file-manager .col-xl-9 .breadcrumb-item + .breadcrumb-item::before {
            background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
            font-weight: 700 !important;
        }

        .page-file-manager .col-xl-9 .breadcrumb-item a {
            color: #6366f1 !important;
            font-weight: 500 !important;
            text-decoration: none !important;
            transition: color 0.2s ease !important;
        }

        .page-file-manager .col-xl-9 .breadcrumb-item a:hover {
            color: #4338ca !important;
        }

        .page-file-manager .col-xl-9 .breadcrumb-item.active {
            color: #64748b !important;
            font-weight: 500 !important;
        }

        /* ---------- View Toggle Buttons ---------- */
        .page-file-manager .btn-group .btn-outline-secondary {
            background: rgba(255, 255, 255, 0.6) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            border-color: rgba(203, 213, 225, 0.6) !important;
            color: #64748b !important;
            transition: all 0.25s ease !important;
            border-radius: 10px !important;
            padding: 6px 12px !important;
        }

        .page-file-manager .btn-group .btn-outline-secondary:first-child {
            border-radius: 10px 0 0 10px !important;
        }

        .page-file-manager .btn-group .btn-outline-secondary:last-child {
            border-radius: 0 10px 10px 0 !important;
        }

        .page-file-manager .btn-group .btn-outline-secondary.active, .page-file-manager .btn-group .btn-outline-secondary:hover {
            background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
            border-color: transparent !important;
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
        }

        /* ---------- Sort Dropdown ---------- */
        .page-file-manager .dropdown > .btn-outline-secondary.dropdown-toggle {
            background: rgba(255, 255, 255, 0.6) !important;
            backdrop-filter: blur(8px) !important;
            border-color: rgba(203, 213, 225, 0.6) !important;
            border-radius: 10px !important;
            color: #475569 !important;
            font-weight: 500 !important;
            transition: all 0.25s ease !important;
        }

        .page-file-manager .dropdown > .btn-outline-secondary.dropdown-toggle:hover {
            background: rgba(255, 255, 255, 0.85) !important;
            border-color: rgba(99, 102, 241, 0.3) !important;
            color: #4338ca !important;
        }

        .page-file-manager .dropdown-menu {
            background: rgba(255, 255, 255, 0.8) !important;
            backdrop-filter: blur(24px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.7) !important;
            border-radius: 14px !important;
            box-shadow:
                0 12px 40px rgba(0, 0, 0, 0.1),
                0 4px 12px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
            padding: 8px !important;
            animation: slideInUp 0.2s ease-out !important;
        }

        .page-file-manager .dropdown-menu .dropdown-item {
            border-radius: 8px !important;
            padding: 8px 14px !important;
            font-weight: 500 !important;
            transition: all 0.2s ease !important;
            color: #475569 !important;
        }

        .page-file-manager .dropdown-menu .dropdown-item:hover {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.06)) !important;
            color: #4338ca !important;
            transform: translateX(2px) !important;
        }

        /* ---------- File Cards - Glass Effect ---------- */
        .page-file-manager .file-card {
            background: rgba(255, 255, 255, 0.55) !important;
            backdrop-filter: blur(16px) saturate(160%) !important;
            -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
            border: 1px solid rgba(255, 255, 255, 0.6) !important;
            border-radius: 16px !important;
            position: relative;
            overflow: hidden;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
            cursor: pointer;
            animation: slideInUp 0.4s ease-out both;
        }

        .page-file-manager .file-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(
                from 0deg,
                transparent 0deg,
                rgba(99, 102, 241, 0.12) 60deg,
                transparent 120deg,
                rgba(139, 92, 246, 0.1) 180deg,
                transparent 240deg,
                rgba(168, 85, 247, 0.08) 300deg,
                transparent 360deg
            );
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }

        .page-file-manager .file-card:hover {
            transform: translateY(-4px) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            box-shadow:
                0 12px 30px rgba(99, 102, 241, 0.1),
                0 4px 12px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        }

        .page-file-manager .file-card:hover::before {
            opacity: 1 !important;
            animation: borderShimmer 4s linear infinite !important;
        }

        .page-file-manager .file-card:hover h6 {
            color: #4338ca !important;
        }

        .page-file-manager .file-card h6 {
            font-weight: 600 !important;
            color: #1e293b !important;
            transition: color 0.3s ease !important;
            font-size: 0.85rem !important;
        }

        .page-file-manager .file-card small {
            color: #94a3b8 !important;
            font-weight: 400 !important;
        }

        /* ---------- File Icon Wrappers ---------- */
        .page-file-manager .file-icon .d-inline-block {
            border-radius: 14px !important;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
            position: relative;
        }

        /* Folder icons - golden glow */
        .page-file-manager .file-icon .bg-soft-warning {
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-warning {
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3), 0 0 12px rgba(245, 158, 11, 0.15) !important;
            transform: scale(1.1) !important;
            animation: folderBounce 0.6s ease-in-out !important;
        }

        /* PDF / Danger file icons - red glow */
        .page-file-manager .file-icon .bg-soft-danger {
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-danger {
            box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25), 0 0 12px rgba(239, 68, 68, 0.12) !important;
            transform: scale(1.08) !important;
        }

        /* Excel / Success file icons - green glow */
        .page-file-manager .file-icon .bg-soft-success {
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-success {
            box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25), 0 0 12px rgba(34, 197, 94, 0.12) !important;
            transform: scale(1.08) !important;
        }

        /* Image / Info file icons - blue glow */
        .page-file-manager .file-icon .bg-soft-info {
            box-shadow: 0 4px 12px rgba(6, 182, 212, 0.12);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-info {
            box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25), 0 0 12px rgba(6, 182, 212, 0.12) !important;
            transform: scale(1.08) !important;
        }

        /* Archive / Secondary file icons - gray glow */
        .page-file-manager .file-icon .bg-soft-secondary {
            box-shadow: 0 4px 12px rgba(100, 116, 139, 0.1);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-secondary {
            box-shadow: 0 8px 24px rgba(100, 116, 139, 0.22), 0 0 12px rgba(100, 116, 139, 0.1) !important;
            transform: scale(1.08) !important;
        }

        /* Primary file icons - indigo glow */
        .page-file-manager .file-icon .bg-soft-primary {
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-primary {
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25), 0 0 12px rgba(99, 102, 241, 0.12) !important;
            transform: scale(1.08) !important;
        }

        /* Dark file icons */
        .page-file-manager .file-icon .bg-soft-dark {
            box-shadow: 0 4px 12px rgba(30, 41, 59, 0.1);
        }

        .page-file-manager .file-card:hover .file-icon .bg-soft-dark {
            box-shadow: 0 8px 24px rgba(30, 41, 59, 0.2), 0 0 12px rgba(30, 41, 59, 0.08) !important;
            transform: scale(1.08) !important;
        }

        /* Staggered file card animation */
        .page-file-manager .file-grid .row > div:nth-child(1) .file-card { animation-delay: 0.02s; }
        .page-file-manager .file-grid .row > div:nth-child(2) .file-card { animation-delay: 0.04s; }
        .page-file-manager .file-grid .row > div:nth-child(3) .file-card { animation-delay: 0.06s; }
        .page-file-manager .file-grid .row > div:nth-child(4) .file-card { animation-delay: 0.08s; }
        .page-file-manager .file-grid .row > div:nth-child(5) .file-card { animation-delay: 0.10s; }
        .page-file-manager .file-grid .row > div:nth-child(6) .file-card { animation-delay: 0.12s; }
        .page-file-manager .file-grid .row > div:nth-child(7) .file-card { animation-delay: 0.14s; }
        .page-file-manager .file-grid .row > div:nth-child(8) .file-card { animation-delay: 0.16s; }
        .page-file-manager .file-grid .row > div:nth-child(9) .file-card { animation-delay: 0.18s; }
        .page-file-manager .file-grid .row > div:nth-child(10) .file-card { animation-delay: 0.20s; }
        .page-file-manager .file-grid .row > div:nth-child(11) .file-card { animation-delay: 0.22s; }
        .page-file-manager .file-grid .row > div:nth-child(12) .file-card { animation-delay: 0.24s; }
        .page-file-manager .file-grid .row > div:nth-child(13) .file-card { animation-delay: 0.26s; }
        .page-file-manager .file-grid .row > div:nth-child(14) .file-card { animation-delay: 0.28s; }

        /* Subtle hover file float for folders */
        .page-file-manager .file-card:hover .file-icon .bg-soft-warning svg, .page-file-manager .file-card:hover .file-icon .bg-soft-warning [data-feather] {
            animation: fileFloat 2s ease-in-out infinite !important;
        }

        /* ---------- File Card Hover Action Overlay ---------- */
        .page-file-manager .file-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                transparent 50%,
                rgba(99, 102, 241, 0.03) 100%
            );
            opacity: 0;
            transition: opacity 0.35s ease;
            pointer-events: none;
            border-radius: 16px;
        }

        .page-file-manager .file-card:hover::after {
            opacity: 1 !important;
        }

        /* ---------- Footer Glassmorphism ---------- */
        .page-file-manager .footer {
            background: rgba(255, 255, 255, 0.4) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border-top: 1px solid rgba(226, 232, 240, 0.5) !important;
            border-radius: 16px 16px 0 0 !important;
        }

        /* ==========================================================================
           DARK MODE
           ========================================================================== */
        .dark-mode.page-file-manager .page-content, [data-theme="dark"].page-file-manager .page-content {
            background: linear-gradient(135deg, #0f0f1a 0%, #131325 25%, #15152a 50%, #0f172a 75%, #0f0f1a 100%) !important;
        }

        .dark-mode.page-file-manager .page-content::before, [data-theme="dark"].page-file-manager .page-content::before {
            background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
        }

        .dark-mode.page-file-manager .page-content::after, [data-theme="dark"].page-file-manager .page-content::after {
            background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
        }

        .dark-mode.page-file-manager .page-header .page-title, [data-theme="dark"].page-file-manager .page-header .page-title {
            background: linear-gradient(135deg, #818cf8, #c084fc) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* Dark sidebar card */
        .dark-mode.page-file-manager .col-xl-3 > .card, [data-theme="dark"].page-file-manager .col-xl-3 > .card {
            background: rgba(30, 32, 55, 0.7) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.25),
                0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        }

        .dark-mode.page-file-manager .col-xl-3 > .card h6.fw-semibold, [data-theme="dark"].page-file-manager .col-xl-3 > .card h6.fw-semibold {
            color: #a5b4fc !important;
        }

        .dark-mode.page-file-manager .col-xl-3 .progress, [data-theme="dark"].page-file-manager .col-xl-3 .progress {
            background: rgba(51, 54, 82, 0.6) !important;
        }

        .dark-mode.page-file-manager .col-xl-3 .progress-bar::after, [data-theme="dark"].page-file-manager .col-xl-3 .progress-bar::after {
            border-color: #1e2037;
        }

        .dark-mode.page-file-manager .col-xl-3 .nav.flex-column .nav-link, [data-theme="dark"].page-file-manager .col-xl-3 .nav.flex-column .nav-link {
            color: #94a3b8 !important;
        }

        .dark-mode.page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover, [data-theme="dark"].page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover {
            background: rgba(99, 102, 241, 0.1) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            color: #c7d2fe !important;
        }

        .dark-mode.page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover svg, .dark-mode.page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover [data-feather], [data-theme="dark"].page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover svg, [data-theme="dark"].page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover [data-feather] {
            filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.6)) !important;
            color: #818cf8 !important;
        }

        /* Dark main card */
        .dark-mode.page-file-manager .col-xl-9 > .card, [data-theme="dark"].page-file-manager .col-xl-9 > .card {
            background: rgba(30, 32, 55, 0.6) !important;
            border-color: rgba(99, 102, 241, 0.12) !important;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
        }

        /* Dark breadcrumb toolbar */
        .dark-mode.page-file-manager .col-xl-9 .card-body > .d-flex:first-child, [data-theme="dark"].page-file-manager .col-xl-9 .card-body > .d-flex:first-child {
            background: rgba(23, 25, 45, 0.6) !important;
            border-color: rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-file-manager .col-xl-9 .breadcrumb-item a, [data-theme="dark"].page-file-manager .col-xl-9 .breadcrumb-item a {
            color: #818cf8 !important;
        }

        .dark-mode.page-file-manager .col-xl-9 .breadcrumb-item.active, [data-theme="dark"].page-file-manager .col-xl-9 .breadcrumb-item.active {
            color: #94a3b8 !important;
        }

        /* Dark toggle buttons */
        .dark-mode.page-file-manager .btn-group .btn-outline-secondary, [data-theme="dark"].page-file-manager .btn-group .btn-outline-secondary {
            background: rgba(30, 32, 55, 0.6) !important;
            border-color: rgba(99, 102, 241, 0.2) !important;
            color: #94a3b8 !important;
        }

        .dark-mode.page-file-manager .btn-group .btn-outline-secondary.active, .dark-mode.page-file-manager .btn-group .btn-outline-secondary:hover, [data-theme="dark"].page-file-manager .btn-group .btn-outline-secondary.active, [data-theme="dark"].page-file-manager .btn-group .btn-outline-secondary:hover {
            background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
            color: #fff !important;
        }

        /* Dark sort dropdown */
        .dark-mode.page-file-manager .dropdown > .btn-outline-secondary.dropdown-toggle, [data-theme="dark"].page-file-manager .dropdown > .btn-outline-secondary.dropdown-toggle {
            background: rgba(30, 32, 55, 0.6) !important;
            border-color: rgba(99, 102, 241, 0.2) !important;
            color: #cbd5e1 !important;
        }

        .dark-mode.page-file-manager .dropdown-menu, [data-theme="dark"].page-file-manager .dropdown-menu {
            background: rgba(30, 32, 55, 0.9) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
        }

        .dark-mode.page-file-manager .dropdown-menu .dropdown-item, [data-theme="dark"].page-file-manager .dropdown-menu .dropdown-item {
            color: #cbd5e1 !important;
        }

        .dark-mode.page-file-manager .dropdown-menu .dropdown-item:hover, [data-theme="dark"].page-file-manager .dropdown-menu .dropdown-item:hover {
            background: rgba(99, 102, 241, 0.12) !important;
            color: #c7d2fe !important;
        }

        /* Dark file cards */
        .dark-mode.page-file-manager .file-card, [data-theme="dark"].page-file-manager .file-card {
            background: rgba(30, 32, 55, 0.55) !important;
            border-color: rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-file-manager .file-card:hover, [data-theme="dark"].page-file-manager .file-card:hover {
            border-color: rgba(99, 102, 241, 0.25) !important;
            box-shadow:
                0 12px 30px rgba(99, 102, 241, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        }

        .dark-mode.page-file-manager .file-card h6, [data-theme="dark"].page-file-manager .file-card h6 {
            color: #e2e8f0 !important;
        }

        .dark-mode.page-file-manager .file-card:hover h6, [data-theme="dark"].page-file-manager .file-card:hover h6 {
            color: #c7d2fe !important;
        }

        .dark-mode.page-file-manager .file-card small, [data-theme="dark"].page-file-manager .file-card small {
            color: #64748b !important;
        }

        /* Dark mode brighter icon glows */
        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-warning, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-warning {
            box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4), 0 0 16px rgba(245, 158, 11, 0.2) !important;
        }

        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-danger, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-danger {
            box-shadow: 0 8px 28px rgba(239, 68, 68, 0.35), 0 0 16px rgba(239, 68, 68, 0.18) !important;
        }

        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-success, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-success {
            box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35), 0 0 16px rgba(34, 197, 94, 0.18) !important;
        }

        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-info, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-info {
            box-shadow: 0 8px 28px rgba(6, 182, 212, 0.35), 0 0 16px rgba(6, 182, 212, 0.18) !important;
        }

        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-primary, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-primary {
            box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35), 0 0 16px rgba(99, 102, 241, 0.18) !important;
        }

        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-secondary, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-secondary {
            box-shadow: 0 8px 28px rgba(148, 163, 184, 0.25), 0 0 16px rgba(148, 163, 184, 0.12) !important;
        }

        .dark-mode.page-file-manager .file-card:hover .file-icon .bg-soft-dark, [data-theme="dark"].page-file-manager .file-card:hover .file-icon .bg-soft-dark {
            box-shadow: 0 8px 28px rgba(203, 213, 225, 0.2), 0 0 16px rgba(203, 213, 225, 0.1) !important;
        }

        /* Dark upload button */
        .dark-mode.page-file-manager .page-header-actions .btn-primary, [data-theme="dark"].page-file-manager .page-header-actions .btn-primary {
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
        }

        .dark-mode.page-file-manager .page-header-actions .btn-primary:hover, [data-theme="dark"].page-file-manager .page-header-actions .btn-primary:hover {
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6), 0 3px 8px rgba(0, 0, 0, 0.25) !important;
        }

        /* Dark footer */
        .dark-mode.page-file-manager .footer, [data-theme="dark"].page-file-manager .footer {
            background: rgba(15, 17, 30, 0.5) !important;
            border-top-color: rgba(99, 102, 241, 0.1) !important;
        }

        .dark-mode.page-file-manager .file-card::after, [data-theme="dark"].page-file-manager .file-card::after {
            background: linear-gradient(
                180deg,
                transparent 50%,
                rgba(99, 102, 241, 0.05) 100%
            );
        }

        /* ==========================================================================
           RESPONSIVE ADJUSTMENTS
           ========================================================================== */
        @media (max-width: 1199.98px) {
            .page-file-manager .col-xl-3 > .card {
                border-radius: 16px !important;
                margin-bottom: 1rem;
            }

            .page-file-manager .col-xl-3 > .card::before {
                width: 100%;
                height: 3px;
                top: 0;
                left: 0;
                background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
                border-radius: 16px 16px 0 0;
            }

            .page-file-manager .col-xl-9 > .card {
                border-radius: 16px !important;
            }
        }

        @media (max-width: 767.98px) {
            .page-file-manager .file-card {
                border-radius: 12px !important;
                padding: 12px !important;
            }

            .page-file-manager .file-card:hover {
                transform: translateY(-2px) !important;
            }

            .page-file-manager .file-icon .d-inline-block {
                border-radius: 10px !important;
            }

            .page-file-manager .col-xl-9 .card-body > .d-flex:first-child {
                border-radius: 10px !important;
                padding: 10px 14px !important;
                flex-direction: column;
                gap: 10px;
            }

            .page-file-manager .page-header-actions .btn-primary {
                border-radius: 10px !important;
                padding: 8px 18px !important;
                font-size: 0.85rem !important;
            }

            .page-file-manager .col-xl-3 > .card, .page-file-manager .col-xl-9 > .card {
                border-radius: 14px !important;
            }

            .page-file-manager .dropdown-menu {
                border-radius: 10px !important;
            }
        }

        @media (max-width: 575.98px) {
            .page-file-manager .file-card h6 {
                font-size: 0.78rem !important;
                word-break: break-word;
            }

            .page-file-manager .file-card small {
                font-size: 0.68rem !important;
            }

            .page-file-manager .file-icon .d-inline-block {
                padding: 10px !important;
            }

            .page-file-manager .file-icon .d-inline-block svg, .page-file-manager .file-icon .d-inline-block [data-feather] {
                width: 26px !important;
                height: 26px !important;
            }

            .page-file-manager .btn-group .btn-outline-secondary {
                padding: 4px 8px !important;
            }

            .page-file-manager .col-xl-3 .progress-bar::after {
                width: 10px;
                height: 10px;
                border-width: 2px;
            }
        }

        /* ---------- Reduced Motion Preference ---------- */
        @media (prefers-reduced-motion: reduce) {
            .page-file-manager .file-card, .page-file-manager .file-card::before, .page-file-manager .file-card::after, .page-file-manager .file-icon .d-inline-block, .page-file-manager .col-xl-3 .nav.flex-column .nav-link, .page-file-manager .col-xl-3 .progress-bar, .page-file-manager .page-header-actions .btn-primary {
                animation: none !important;
                transition: none !important;
            }

            .page-file-manager .file-card:hover {
                transform: none !important;
            }

            .page-file-manager .col-xl-3 .nav.flex-column .nav-link:hover {
                transform: none !important;
            }
        }


/* ===========================================
   Page: app-kanban
   ========================================== */
/* ============================================================
       NEON BOARD - Premium Glassmorphic Kanban Theme
       A visually stunning neon-infused glass design system
       ============================================================ */

    /* -- Keyframe Animations ------------------------------------ */

    @keyframes cardSlideUp {
        0% {
            opacity: 0;
            transform: translateY(24px) scale(0.97);
        }
        60% {
            opacity: 1;
            transform: translateY(-3px) scale(1.005);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes dotGlow {
        0%, 100% {
            box-shadow: 0 0 4px currentColor, 0 0 8px currentColor;
            transform: scale(1);
        }
        50% {
            box-shadow: 0 0 8px currentColor, 0 0 20px currentColor, 0 0 32px currentColor;
            transform: scale(1.25);
        }
    }

    @keyframes shimmer {
        0% {
            background-position: -200% center;
        }
        100% {
            background-position: 200% center;
        }
    }

    @keyframes neonPulse {
        0%, 100% {
            opacity: 0.7;
        }
        50% {
            opacity: 1;
        }
    }

    @keyframes floatIn {
        0% {
            opacity: 0;
            transform: translateY(12px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* -- Kanban Board Container --------------------------------- */

    .page-kanban .kanban-board {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        padding: 8px 4px 20px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        min-height: calc(100vh - 220px) !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Custom scrollbar for the board */
    .page-kanban .kanban-board::-webkit-scrollbar {
        height: 8px !important;
    }

    .page-kanban .kanban-board::-webkit-scrollbar-track {
        background: rgba(100, 116, 139, 0.1) !important;
        border-radius: 100px !important;
    }

    .page-kanban .kanban-board::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa) !important;
        border-radius: 100px !important;
        border: 2px solid transparent !important;
        background-clip: padding-box !important;
    }

    .page-kanban .kanban-board::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg, #818cf8, #a78bfa, #c4b5fd) !important;
        background-clip: padding-box !important;
    }

    /* -- Kanban Columns (Glassmorphic) -------------------------- */

    .page-kanban .kanban-column {
        min-width: 320px !important;
        max-width: 340px !important;
        flex: 0 0 320px !important;
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(20px) saturate(1.6) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 18px !important;
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.05),
            0 1px 3px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
        transition: box-shadow 0.35s ease, transform 0.35s ease !important;
        animation: floatIn 0.5s ease-out both !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .page-kanban .kanban-column:nth-child(1) { animation-delay: 0.05s !important; }
    .page-kanban .kanban-column:nth-child(2) { animation-delay: 0.12s !important; }
    .page-kanban .kanban-column:nth-child(3) { animation-delay: 0.19s !important; }
    .page-kanban .kanban-column:nth-child(4) { animation-delay: 0.26s !important; }

    /* Per-status tinted glass backgrounds */
    .page-kanban .kanban-column[data-status="todo"] {
        background: rgba(219, 234, 254, 0.50) !important;
        border-color: rgba(147, 197, 253, 0.35) !important;
    }

    .page-kanban .kanban-column[data-status="in-progress"] {
        background: rgba(224, 231, 255, 0.50) !important;
        border-color: rgba(165, 180, 252, 0.35) !important;
    }

    .page-kanban .kanban-column[data-status="in-review"] {
        background: rgba(254, 243, 199, 0.45) !important;
        border-color: rgba(252, 211, 77, 0.30) !important;
    }

    .page-kanban .kanban-column[data-status="done"] {
        background: rgba(209, 250, 229, 0.45) !important;
        border-color: rgba(110, 231, 183, 0.30) !important;
    }

    .page-kanban .kanban-column:hover {
        box-shadow:
            0 8px 40px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(0, 0, 0, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    }

    /* -- Column Headers ----------------------------------------- */

    .page-kanban .kanban-column-header {
        padding: 18px 20px 14px !important;
        position: relative !important;
    }

    .page-kanban .kanban-column-header::after {
        content: "" !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 20px !important;
        right: 20px !important;
        height: 3px !important;
        border-radius: 3px !important;
        opacity: 0.7 !important;
    }

    /* Status-specific gradient accent lines */
    .page-kanban .kanban-column[data-status="todo"] .kanban-column-header::after {
        background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd) !important;
    }

    .page-kanban .kanban-column[data-status="in-progress"] .kanban-column-header::after {
        background: linear-gradient(90deg, #6366f1, #818cf8, #a5b4fc) !important;
    }

    .page-kanban .kanban-column[data-status="in-review"] .kanban-column-header::after {
        background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d) !important;
    }

    .page-kanban .kanban-column[data-status="done"] .kanban-column-header::after {
        background: linear-gradient(90deg, #10b981, #34d399, #6ee7b3) !important;
    }

    .page-kanban .kanban-column-title {
        font-weight: 700 !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.03em !important;
        text-transform: uppercase !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 0 !important;
        color: #1e293b !important;
    }

    /* -- Column Dot with Glow ----------------------------------- */

    .page-kanban .kanban-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        display: inline-block !important;
        animation: dotGlow 2.5s ease-in-out infinite !important;
        flex-shrink: 0 !important;
    }

    .page-kanban .kanban-column[data-status="todo"] .kanban-dot {
        background: #3b82f6 !important;
        color: #3b82f6 !important;
    }

    .page-kanban .kanban-column[data-status="in-progress"] .kanban-dot {
        background: #6366f1 !important;
        color: #6366f1 !important;
    }

    .page-kanban .kanban-column[data-status="in-review"] .kanban-dot {
        background: #f59e0b !important;
        color: #f59e0b !important;
    }

    .page-kanban .kanban-column[data-status="done"] .kanban-dot {
        background: #10b981 !important;
        color: #10b981 !important;
    }

    /* -- Column Count Badge ------------------------------------- */

    .page-kanban .kanban-count {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        background: rgba(100, 116, 139, 0.12) !important;
        color: #475569 !important;
        padding: 2px 9px !important;
        border-radius: 100px !important;
        margin-left: 4px !important;
    }

    /* -- Column Body (Scrollable) ------------------------------- */

    .page-kanban .kanban-column-body {
        padding: 12px 14px 16px !important;
        overflow-y: auto !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-height: calc(100vh - 320px) !important;
    }

    .page-kanban .kanban-column-body::-webkit-scrollbar {
        width: 5px !important;
    }

    .page-kanban .kanban-column-body::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .page-kanban .kanban-column-body::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.3) !important;
        border-radius: 100px !important;
    }

    .page-kanban .kanban-column-body::-webkit-scrollbar-thumb:hover {
        background: rgba(148, 163, 184, 0.5) !important;
    }

    /* -- Kanban Cards (Glass + Hover Lift) ---------------------- */

    .page-kanban .kanban-card {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(12px) saturate(1.4) !important;
        -webkit-backdrop-filter: blur(12px) saturate(1.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.65) !important;
        border-radius: 14px !important;
        padding: 16px !important;
        cursor: grab !important;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.04),
            0 1px 2px rgba(0, 0, 0, 0.03),
            inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
        transition:
            transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
            border-color 0.3s ease !important;
        animation: cardSlideUp 0.55s ease-out both !important;
        position: relative !important;
        overflow: hidden !important;
        border-left: 3px solid transparent !important;
    }

    .page-kanban .kanban-card:active {
        cursor: grabbing !important;
    }

    /* Staggered card entrance */
    .page-kanban .kanban-card:nth-child(1) { animation-delay: 0.10s !important; }
    .page-kanban .kanban-card:nth-child(2) { animation-delay: 0.18s !important; }
    .page-kanban .kanban-card:nth-child(3) { animation-delay: 0.26s !important; }
    .page-kanban .kanban-card:nth-child(4) { animation-delay: 0.34s !important; }
    .page-kanban .kanban-card:nth-child(5) { animation-delay: 0.42s !important; }

    /* Hover: lift + layered shadow */
    .page-kanban .kanban-card:hover {
        transform: translateY(-4px) !important;
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.08),
            0 6px 12px rgba(0, 0, 0, 0.05),
            0 2px 4px rgba(0, 0, 0, 0.03),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(200, 200, 255, 0.4) !important;
    }

    /* Left border color matching priority */
    .page-kanban .kanban-card:has(.badge.bg-danger) {
        border-left-color: #ef4444 !important;
    }

    .page-kanban .kanban-card:has(.badge.bg-warning) {
        border-left-color: #f59e0b !important;
    }

    .page-kanban .kanban-card:has(.badge.bg-success) {
        border-left-color: #10b981 !important;
    }

    /* -- Card Title & Text -------------------------------------- */

    .page-kanban .kanban-card-title {
        font-weight: 650 !important;
        font-size: 0.88rem !important;
        color: #1e293b !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
        letter-spacing: -0.01em !important;
    }

    .page-kanban .kanban-card-text {
        font-size: 0.8rem !important;
        color: #64748b !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* -- Card Footer -------------------------------------------- */

    .page-kanban .kanban-card-footer {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
    }

    /* -- Priority Badges (Glass + Neon Glow) -------------------- */

    .page-kanban .kanban-card .badge {
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        padding: 4px 10px !important;
        border-radius: 100px !important;
        letter-spacing: 0.03em !important;
        text-transform: uppercase !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    }

    .page-kanban .kanban-card .badge.bg-danger {
        background: rgba(239, 68, 68, 0.15) !important;
        color: #dc2626 !important;
        border: 1px solid rgba(239, 68, 68, 0.25) !important;
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.15) !important;
    }

    .page-kanban .kanban-card .badge.bg-danger:hover {
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.35), 0 0 24px rgba(239, 68, 68, 0.15) !important;
        transform: scale(1.05) !important;
    }

    .page-kanban .kanban-card .badge.bg-warning {
        background: rgba(245, 158, 11, 0.14) !important;
        color: #d97706 !important;
        border: 1px solid rgba(245, 158, 11, 0.25) !important;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.12) !important;
    }

    .page-kanban .kanban-card .badge.bg-warning:hover {
        box-shadow: 0 0 12px rgba(245, 158, 11, 0.35), 0 0 24px rgba(245, 158, 11, 0.15) !important;
        transform: scale(1.05) !important;
    }

    .page-kanban .kanban-card .badge.bg-success {
        background: rgba(16, 185, 129, 0.14) !important;
        color: #059669 !important;
        border: 1px solid rgba(16, 185, 129, 0.25) !important;
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.12) !important;
    }

    .page-kanban .kanban-card .badge.bg-success:hover {
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.35), 0 0 24px rgba(16, 185, 129, 0.15) !important;
        transform: scale(1.05) !important;
    }

    /* -- Avatar Group (Overlapping + Ring) ---------------------- */

    .page-kanban .kanban-card .avatar-group {
        display: flex !important;
        align-items: center !important;
    }

    .page-kanban .kanban-card .avatar-group .avatar {
        margin-left: -6px !important;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
    }

    .page-kanban .kanban-card .avatar-group .avatar:first-child {
        margin-left: 0 !important;
    }

    .page-kanban .kanban-card .avatar-group .avatar .avatar-placeholder {
        border: 2px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
        font-size: 0.6rem !important;
        font-weight: 700 !important;
    }

    .page-kanban .kanban-card .avatar-group .avatar:hover {
        transform: translateY(-2px) scale(1.15) !important;
        z-index: 10 !important;
    }

    .page-kanban .kanban-card .avatar-group .avatar:hover .avatar-placeholder {
        box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3), 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    }

    /* -- Due Date Pill ------------------------------------------ */

    .page-kanban .kanban-due-date {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 0.72rem !important;
        font-weight: 500 !important;
        color: #64748b !important;
        background: rgba(100, 116, 139, 0.08) !important;
        padding: 3px 10px !important;
        border-radius: 100px !important;
        margin-left: auto !important;
        transition: background 0.25s ease, color 0.25s ease !important;
        white-space: nowrap !important;
    }

    .page-kanban .kanban-due-date svg, .page-kanban .kanban-due-date .feather {
        width: 12px !important;
        height: 12px !important;
        stroke-width: 2.5 !important;
        opacity: 0.7 !important;
    }

    .page-kanban .kanban-due-date:hover {
        background: rgba(99, 102, 241, 0.1) !important;
        color: #6366f1 !important;
    }

    /* -- "Add Task" Button (Gradient + Shimmer) ----------------- */

    .page-kanban .page-header-actions .btn-primary {
        background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa) !important;
        border: none !important;
        border-radius: 12px !important;
        padding: 10px 22px !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.02em !important;
        color: #ffffff !important;
        box-shadow:
            0 4px 14px rgba(99, 102, 241, 0.35),
            0 2px 6px rgba(99, 102, 241, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .page-kanban .page-header-actions .btn-primary::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 70%,
            transparent 100%
        ) !important;
        background-size: 200% 100% !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .page-kanban .page-header-actions .btn-primary:hover {
        transform: translateY(-2px) scale(1.03) !important;
        box-shadow:
            0 8px 24px rgba(99, 102, 241, 0.4),
            0 4px 10px rgba(99, 102, 241, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    .page-kanban .page-header-actions .btn-primary:hover::before {
        opacity: 1 !important;
        animation: shimmer 1.5s ease-in-out infinite !important;
    }

    .page-kanban .page-header-actions .btn-primary:active {
        transform: translateY(0) scale(0.98) !important;
    }

    /* -- Page Title Enhancement --------------------------------- */

    .page-kanban .page-header .page-title {
        font-weight: 800 !important;
        letter-spacing: -0.02em !important;
        background: linear-gradient(135deg, #1e293b, #475569) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }

    /* ============================================================
       DARK MODE
       ============================================================ */

    .dark-mode.page-kanban .kanban-board {
        background: transparent !important;
    }

    .dark-mode.page-kanban .kanban-board::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.04) !important;
    }

    .dark-mode.page-kanban .kanban-board::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #818cf8, #a78bfa) !important;
    }

    /* Dark glass columns */
    .dark-mode.page-kanban .kanban-column {
        background: rgba(30, 41, 59, 0.6) !important;
        border-color: rgba(148, 163, 184, 0.12) !important;
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.25),
            0 1px 3px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="todo"] {
        background: rgba(30, 58, 138, 0.25) !important;
        border-color: rgba(59, 130, 246, 0.18) !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="in-progress"] {
        background: rgba(55, 48, 163, 0.25) !important;
        border-color: rgba(99, 102, 241, 0.18) !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="in-review"] {
        background: rgba(120, 53, 15, 0.22) !important;
        border-color: rgba(245, 158, 11, 0.18) !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="done"] {
        background: rgba(6, 78, 59, 0.22) !important;
        border-color: rgba(16, 185, 129, 0.18) !important;
    }

    .dark-mode.page-kanban .kanban-column:hover {
        box-shadow:
            0 8px 40px rgba(0, 0, 0, 0.35),
            0 2px 8px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    /* Dark mode header text */
    .dark-mode.page-kanban .kanban-column-title {
        color: #e2e8f0 !important;
    }

    .dark-mode.page-kanban .kanban-count {
        background: rgba(148, 163, 184, 0.15) !important;
        color: #94a3b8 !important;
    }

    /* Brighter neon dots in dark mode */
    .dark-mode.page-kanban .kanban-column[data-status="todo"] .kanban-dot {
        background: #60a5fa !important;
        color: #60a5fa !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="in-progress"] .kanban-dot {
        background: #818cf8 !important;
        color: #818cf8 !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="in-review"] .kanban-dot {
        background: #fbbf24 !important;
        color: #fbbf24 !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="done"] .kanban-dot {
        background: #34d399 !important;
        color: #34d399 !important;
    }

    /* Dark gradient accent lines - brighter */
    .dark-mode.page-kanban .kanban-column[data-status="todo"] .kanban-column-header::after {
        background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd) !important;
        opacity: 0.9 !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="in-progress"] .kanban-column-header::after {
        background: linear-gradient(90deg, #6366f1, #818cf8, #a5b4fc) !important;
        opacity: 0.9 !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="in-review"] .kanban-column-header::after {
        background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d) !important;
        opacity: 0.9 !important;
    }

    .dark-mode.page-kanban .kanban-column[data-status="done"] .kanban-column-header::after {
        background: linear-gradient(90deg, #10b981, #34d399, #6ee7b3) !important;
        opacity: 0.9 !important;
    }

    /* Dark glass cards */
    .dark-mode.page-kanban .kanban-card {
        background: rgba(30, 41, 59, 0.65) !important;
        border-color: rgba(148, 163, 184, 0.1) !important;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.2),
            0 1px 2px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }

    .dark-mode.page-kanban .kanban-card:hover {
        background: rgba(30, 41, 59, 0.78) !important;
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.3),
            0 6px 12px rgba(0, 0, 0, 0.2),
            0 2px 4px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(148, 163, 184, 0.15) !important;
    }

    .dark-mode.page-kanban .kanban-card-title {
        color: #f1f5f9 !important;
    }

    .dark-mode.page-kanban .kanban-card-text {
        color: #94a3b8 !important;
    }

    .dark-mode.page-kanban .kanban-card-footer {
        border-top-color: rgba(148, 163, 184, 0.08) !important;
    }

    /* Brighter neon badges in dark mode */
    .dark-mode.page-kanban .kanban-card .badge.bg-danger {
        background: rgba(239, 68, 68, 0.2) !important;
        color: #f87171 !important;
        border-color: rgba(239, 68, 68, 0.3) !important;
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.2) !important;
    }

    .dark-mode.page-kanban .kanban-card .badge.bg-danger:hover {
        box-shadow: 0 0 16px rgba(239, 68, 68, 0.45), 0 0 32px rgba(239, 68, 68, 0.2) !important;
    }

    .dark-mode.page-kanban .kanban-card .badge.bg-warning {
        background: rgba(245, 158, 11, 0.2) !important;
        color: #fbbf24 !important;
        border-color: rgba(245, 158, 11, 0.3) !important;
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.18) !important;
    }

    .dark-mode.page-kanban .kanban-card .badge.bg-warning:hover {
        box-shadow: 0 0 16px rgba(245, 158, 11, 0.45), 0 0 32px rgba(245, 158, 11, 0.2) !important;
    }

    .dark-mode.page-kanban .kanban-card .badge.bg-success {
        background: rgba(16, 185, 129, 0.2) !important;
        color: #34d399 !important;
        border-color: rgba(16, 185, 129, 0.3) !important;
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.18) !important;
    }

    .dark-mode.page-kanban .kanban-card .badge.bg-success:hover {
        box-shadow: 0 0 16px rgba(16, 185, 129, 0.45), 0 0 32px rgba(16, 185, 129, 0.2) !important;
    }

    /* Dark avatar rings */
    .dark-mode.page-kanban .kanban-card .avatar-group .avatar .avatar-placeholder {
        border-color: rgba(30, 41, 59, 0.9) !important;
    }

    .dark-mode.page-kanban .kanban-card .avatar-group .avatar:hover .avatar-placeholder {
        box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    /* Dark due date pill */
    .dark-mode.page-kanban .kanban-due-date {
        color: #94a3b8 !important;
        background: rgba(148, 163, 184, 0.1) !important;
    }

    .dark-mode.page-kanban .kanban-due-date:hover {
        background: rgba(129, 140, 248, 0.15) !important;
        color: #a5b4fc !important;
    }

    /* Dark Add Task button - intensified glow */
    .dark-mode.page-kanban .page-header-actions .btn-primary {
        box-shadow:
            0 4px 18px rgba(99, 102, 241, 0.45),
            0 2px 8px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }

    .dark-mode.page-kanban .page-header-actions .btn-primary:hover {
        box-shadow:
            0 8px 30px rgba(99, 102, 241, 0.55),
            0 4px 14px rgba(99, 102, 241, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    }

    /* Dark page title */
    .dark-mode.page-kanban .page-header .page-title {
        background: linear-gradient(135deg, #e2e8f0, #94a3b8) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }

    /* Dark scrollbar for column body */
    .dark-mode.page-kanban .kanban-column-body::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.2) !important;
    }

    .dark-mode.page-kanban .kanban-column-body::-webkit-scrollbar-thumb:hover {
        background: rgba(148, 163, 184, 0.35) !important;
    }

    /* ============================================================
       RESPONSIVE: Stack columns vertically on small screens
       ============================================================ */

    @media (max-width: 768px) {
        .page-kanban .kanban-board {
            flex-direction: column !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
            gap: 16px !important;
            padding: 4px 0 20px !important;
        }

        .page-kanban .kanban-column {
            min-width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 auto !important;
        }

        .page-kanban .kanban-column-body {
            max-height: none !important;
        }

        .page-kanban .kanban-card:hover {
            transform: translateY(-2px) !important;
        }

        .page-kanban .page-header-actions .btn-primary {
            padding: 8px 16px !important;
            font-size: 0.8rem !important;
            border-radius: 10px !important;
        }
    }

    @media (max-width: 480px) {
        .page-kanban .kanban-column {
            border-radius: 14px !important;
        }

        .page-kanban .kanban-card {
            border-radius: 12px !important;
            padding: 14px !important;
        }

        .page-kanban .kanban-column-header {
            padding: 14px 16px 12px !important;
        }

        .page-kanban .kanban-column-body {
            padding: 10px 12px 14px !important;
        }

        .page-kanban .kanban-card-footer {
            gap: 8px !important;
        }

        .page-kanban .kanban-card .badge {
            font-size: 0.62rem !important;
            padding: 3px 8px !important;
        }
    }


/* ===========================================
   Page: app-todo
   ========================================== */
/* ============================================================
           CRYSTAL TASKS - Premium Glassmorphic Todo Theme
           A layered-glass design system with indigo accents,
           gradient borders, glow effects, and fluid animations.
           ============================================================ */

        /* ----------------------------------------------------------
           CSS Custom Properties
        ---------------------------------------------------------- */
        .page-todo {
            --ct-indigo: #6366f1;
            --ct-indigo-light: #818cf8;
            --ct-indigo-dark: #4f46e5;
            --ct-indigo-glow: rgba(99, 102, 241, 0.45);
            --ct-violet: #8b5cf6;
            --ct-glass-bg: rgba(255, 255, 255, 0.55);
            --ct-glass-bg-hover: rgba(255, 255, 255, 0.72);
            --ct-glass-border: rgba(255, 255, 255, 0.35);
            --ct-glass-shadow: 0 8px 32px rgba(99, 102, 241, 0.10),
                               0 1.5px 6px rgba(0, 0, 0, 0.04);
            --ct-glass-shadow-lg: 0 16px 48px rgba(99, 102, 241, 0.14),
                                  0 4px 12px rgba(0, 0, 0, 0.06);
            --ct-gradient-border: linear-gradient(135deg, rgba(99,102,241,0.40), rgba(139,92,246,0.25), rgba(236,72,153,0.15));
            --ct-gradient-fill: linear-gradient(135deg, #6366f1, #8b5cf6);
            --ct-radius: 16px;
            --ct-radius-pill: 50px;
            --ct-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            --ct-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            --ct-success: #22c55e;
            --ct-warning: #f59e0b;
            --ct-danger: #ef4444;
            --ct-body-bg: #f0f2ff;
        }

        /* ----------------------------------------------------------
           Keyframe Animations
        ---------------------------------------------------------- */
        @keyframes todoSlideIn {
            0% {
                opacity: 0;
                transform: translateX(-18px) scale(0.97);
            }
            60% {
                opacity: 1;
                transform: translateX(3px) scale(1.005);
            }
            100% {
                opacity: 1;
                transform: translateX(0) scale(1);
            }
        }

        @keyframes checkBounce {
            0% {
                transform: scale(1);
            }
            30% {
                transform: scale(0.85);
            }
            60% {
                transform: scale(1.2);
            }
            80% {
                transform: scale(0.95);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes strikeThrough {
            0% {
                width: 0;
            }
            100% {
                width: 100%;
            }
        }

        @keyframes glowPulse {
            0%, 100% {
                box-shadow: 0 0 6px var(--ct-indigo-glow);
            }
            50% {
                box-shadow: 0 0 18px var(--ct-indigo-glow);
            }
        }

        @keyframes badgeFadeIn {
            0% {
                opacity: 0;
                transform: scale(0.7);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes deleteSlideIn {
            0% {
                opacity: 0;
                transform: translateX(10px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* ----------------------------------------------------------
           Page Background
        ---------------------------------------------------------- */
        .page-todo .page-content {
            background: var(--ct-body-bg) !important;
        }

        /* ----------------------------------------------------------
           Cards: Glassmorphic Base
        ---------------------------------------------------------- */
        .page-todo .col-lg-3 > .card, .page-todo .col-lg-9 > .card {
            background: var(--ct-glass-bg) !important;
            backdrop-filter: blur(18px) saturate(1.6) !important;
            -webkit-backdrop-filter: blur(18px) saturate(1.6) !important;
            border: 1px solid var(--ct-glass-border) !important;
            border-radius: var(--ct-radius) !important;
            box-shadow: var(--ct-glass-shadow) !important;
            transition: box-shadow var(--ct-transition), transform var(--ct-transition) !important;
            overflow: hidden !important;
            position: relative !important;
        }

        .page-todo .col-lg-3 > .card::before, .page-todo .col-lg-9 > .card::before {
            content: '' !important;
            position: absolute !important;
            inset: 0 !important;
            border-radius: var(--ct-radius) !important;
            padding: 1.5px !important;
            background: var(--ct-gradient-border) !important;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
            -webkit-mask-composite: xor !important;
            mask-composite: exclude !important;
            pointer-events: none !important;
            z-index: 1 !important;
        }

        .page-todo .col-lg-3 > .card:hover, .page-todo .col-lg-9 > .card:hover {
            box-shadow: var(--ct-glass-shadow-lg) !important;
        }

        .page-todo .col-lg-3 > .card .card-header, .page-todo .col-lg-9 > .card .card-header {
            background: transparent !important;
            border-bottom: 1px solid rgba(99, 102, 241, 0.10) !important;
        }

        .page-todo .col-lg-3 > .card .card-title {
            font-weight: 700 !important;
            letter-spacing: 0.02em !important;
            background: var(--ct-gradient-fill) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* ----------------------------------------------------------
           Categories Sidebar: Glass Nav
        ---------------------------------------------------------- */
        .page-todo .todo-categories {
            padding: 8px !important;
        }

        .page-todo .todo-categories .nav-link {
            background: rgba(255, 255, 255, 0.30) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            border: 1px solid rgba(255, 255, 255, 0.22) !important;
            border-radius: 12px !important;
            margin: 4px 0 !important;
            padding: 10px 14px !important;
            color: #475569 !important;
            font-weight: 500 !important;
            transition: all var(--ct-transition) !important;
            position: relative !important;
            overflow: hidden !important;
        }

        .page-todo .todo-categories .nav-link::before {
            content: '' !important;
            position: absolute !important;
            left: 0 !important;
            top: 50% !important;
            transform: translateY(-50%) scaleY(0) !important;
            width: 4px !important;
            height: 60% !important;
            border-radius: 0 4px 4px 0 !important;
            background: var(--ct-gradient-fill) !important;
            transition: transform var(--ct-spring) !important;
        }

        .page-todo .todo-categories .nav-link:hover {
            background: rgba(99, 102, 241, 0.08) !important;
            border-color: rgba(99, 102, 241, 0.18) !important;
            color: var(--ct-indigo) !important;
            transform: translateX(2px) !important;
        }

        .page-todo .todo-categories .nav-link:hover svg, .page-todo .todo-categories .nav-link:hover i {
            color: var(--ct-indigo) !important;
            stroke: var(--ct-indigo) !important;
        }

        .page-todo .todo-categories .nav-link.active {
            background: rgba(99, 102, 241, 0.10) !important;
            border-color: rgba(99, 102, 241, 0.22) !important;
            color: var(--ct-indigo-dark) !important;
            font-weight: 600 !important;
            box-shadow: 0 2px 12px rgba(99, 102, 241, 0.12) !important;
        }

        .page-todo .todo-categories .nav-link.active::before {
            transform: translateY(-50%) scaleY(1) !important;
        }

        .page-todo .todo-categories .nav-link.active svg, .page-todo .todo-categories .nav-link.active i {
            color: var(--ct-indigo) !important;
            stroke: var(--ct-indigo) !important;
            filter: drop-shadow(0 0 6px var(--ct-indigo-glow)) !important;
        }

        /* Category Badges: Glass Pills */
        .page-todo .todo-categories .badge {
            backdrop-filter: blur(6px) !important;
            -webkit-backdrop-filter: blur(6px) !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            font-weight: 600 !important;
            font-size: 0.72rem !important;
            letter-spacing: 0.03em !important;
            padding: 4px 10px !important;
            animation: badgeFadeIn 0.4s ease-out !important;
        }

        .page-todo .todo-categories .badge.bg-primary {
            background: rgba(99, 102, 241, 0.18) !important;
            color: var(--ct-indigo-dark) !important;
            box-shadow: 0 0 10px rgba(99, 102, 241, 0.20) !important;
        }

        .page-todo .todo-categories .badge.bg-success {
            background: rgba(34, 197, 94, 0.16) !important;
            color: #16a34a !important;
            box-shadow: 0 0 10px rgba(34, 197, 94, 0.18) !important;
        }

        .page-todo .todo-categories .badge.bg-warning {
            background: rgba(245, 158, 11, 0.16) !important;
            color: #d97706 !important;
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.18) !important;
        }

        .page-todo .todo-categories .badge.bg-danger {
            background: rgba(239, 68, 68, 0.15) !important;
            color: #dc2626 !important;
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.18) !important;
        }

        /* ----------------------------------------------------------
           Filter Buttons: Glass Pill Group
        ---------------------------------------------------------- */
        .page-todo .col-lg-9 .btn-group {
            background: rgba(255, 255, 255, 0.35) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            border-radius: var(--ct-radius-pill) !important;
            padding: 3px !important;
            border: 1px solid rgba(255, 255, 255, 0.30) !important;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06) !important;
        }

        .page-todo .col-lg-9 .btn-group .btn-outline-primary {
            border: none !important;
            border-radius: var(--ct-radius-pill) !important;
            padding: 6px 20px !important;
            font-weight: 500 !important;
            font-size: 0.84rem !important;
            color: #64748b !important;
            background: transparent !important;
            transition: all var(--ct-spring) !important;
            position: relative !important;
            z-index: 1 !important;
        }

        .page-todo .col-lg-9 .btn-group .btn-outline-primary:hover {
            color: var(--ct-indigo) !important;
            background: rgba(99, 102, 241, 0.07) !important;
            transform: scale(1.04) !important;
        }

        .page-todo .col-lg-9 .btn-group .btn-outline-primary.active, .page-todo .col-lg-9 .btn-group .btn-outline-primary:active {
            background: var(--ct-gradient-fill) !important;
            color: #fff !important;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35) !important;
            transform: scale(1) !important;
        }

        /* ----------------------------------------------------------
           Add Task Input: Glass Pill
        ---------------------------------------------------------- */
        .page-todo .col-lg-9 .input-group {
            background: rgba(255, 255, 255, 0.38) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            border-radius: var(--ct-radius-pill) !important;
            border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
            padding: 3px !important;
            transition: border-color var(--ct-transition), box-shadow var(--ct-transition) !important;
            overflow: hidden !important;
        }

        .page-todo .col-lg-9 .input-group:focus-within {
            border-color: rgba(99, 102, 241, 0.45) !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12),
                         0 4px 16px rgba(99, 102, 241, 0.10) !important;
        }

        .page-todo .col-lg-9 .input-group .form-control {
            border: none !important;
            background: transparent !important;
            padding: 8px 18px !important;
            font-size: 0.88rem !important;
            color: #334155 !important;
            box-shadow: none !important;
        }

        .page-todo .col-lg-9 .input-group .form-control::placeholder {
            color: #94a3b8 !important;
        }

        .page-todo .col-lg-9 .input-group .btn-primary, .page-todo #todoAddBtn {
            background: var(--ct-gradient-fill) !important;
            border: none !important;
            border-radius: var(--ct-radius-pill) !important;
            padding: 8px 24px !important;
            font-weight: 600 !important;
            font-size: 0.84rem !important;
            color: #fff !important;
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.30) !important;
            transition: all var(--ct-spring) !important;
        }

        .page-todo .col-lg-9 .input-group .btn-primary:hover, .page-todo #todoAddBtn:hover {
            box-shadow: 0 6px 22px rgba(99, 102, 241, 0.45) !important;
            transform: translateY(-1px) !important;
        }

        /* ----------------------------------------------------------
           Todo List Container
        ---------------------------------------------------------- */
        .page-todo .todo-list {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* ----------------------------------------------------------
           Todo Items: Glass Rows
        ---------------------------------------------------------- */
        .page-todo .todo-item {
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            padding: 14px 20px !important;
            background: rgba(255, 255, 255, 0.30) !important;
            backdrop-filter: blur(6px) !important;
            -webkit-backdrop-filter: blur(6px) !important;
            border-bottom: 1px solid rgba(99, 102, 241, 0.06) !important;
            transition: all var(--ct-transition) !important;
            animation: todoSlideIn 0.45s ease-out both !important;
            position: relative !important;
        }

        .page-todo .todo-item:nth-child(1) { animation-delay: 0.00s !important; }
        .page-todo .todo-item:nth-child(2) { animation-delay: 0.04s !important; }
        .page-todo .todo-item:nth-child(3) { animation-delay: 0.08s !important; }
        .page-todo .todo-item:nth-child(4) { animation-delay: 0.12s !important; }
        .page-todo .todo-item:nth-child(5) { animation-delay: 0.16s !important; }
        .page-todo .todo-item:nth-child(6) { animation-delay: 0.20s !important; }
        .page-todo .todo-item:nth-child(7) { animation-delay: 0.24s !important; }
        .page-todo .todo-item:nth-child(8) { animation-delay: 0.28s !important; }
        .page-todo .todo-item:nth-child(9) { animation-delay: 0.32s !important; }
        .page-todo .todo-item:nth-child(10) { animation-delay: 0.36s !important; }
        .page-todo .todo-item:nth-child(11) { animation-delay: 0.40s !important; }
        .page-todo .todo-item:nth-child(12) { animation-delay: 0.44s !important; }
        .page-todo .todo-item:nth-child(13) { animation-delay: 0.48s !important; }
        .page-todo .todo-item:nth-child(14) { animation-delay: 0.52s !important; }
        .page-todo .todo-item:nth-child(15) { animation-delay: 0.56s !important; }

        .page-todo .todo-item:last-child {
            border-bottom: none !important;
        }

        .page-todo .todo-item:hover {
            background: rgba(255, 255, 255, 0.52) !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08) !important;
        }

        /* ----------------------------------------------------------
           Custom Checkbox: Indigo Fill with Bounce
        ---------------------------------------------------------- */
        .page-todo .todo-item .form-check {
            margin: 0 !important;
            padding: 0 !important;
            min-height: auto !important;
            display: flex !important;
            align-items: center !important;
        }

        .page-todo .todo-item .form-check-input {
            width: 20px !important;
            height: 20px !important;
            border: 2px solid #c7d2fe !important;
            border-radius: 6px !important;
            background: rgba(255, 255, 255, 0.60) !important;
            cursor: pointer !important;
            transition: all var(--ct-transition) !important;
            margin: 0 !important;
            flex-shrink: 0 !important;
            appearance: none !important;
            -webkit-appearance: none !important;
            position: relative !important;
        }

        .page-todo .todo-item .form-check-input:hover {
            border-color: var(--ct-indigo-light) !important;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
        }

        .page-todo .todo-item .form-check-input:checked {
            background: var(--ct-gradient-fill) !important;
            border-color: var(--ct-indigo) !important;
            animation: checkBounce 0.45s ease-out !important;
        }

        .page-todo .todo-item .form-check-input:checked::after {
            content: '' !important;
            position: absolute !important;
            left: 6px !important;
            top: 2px !important;
            width: 5px !important;
            height: 10px !important;
            border: solid #fff !important;
            border-width: 0 2px 2px 0 !important;
            transform: rotate(45deg) !important;
        }

        /* ----------------------------------------------------------
           Todo Text
        ---------------------------------------------------------- */
        .page-todo .todo-text {
            flex: 1 !important;
            font-size: 0.9rem !important;
            color: #334155 !important;
            font-weight: 450 !important;
            transition: all var(--ct-transition) !important;
            position: relative !important;
            line-height: 1.5 !important;
        }

        /* ----------------------------------------------------------
           Completed State: Gradient Strikethrough
        ---------------------------------------------------------- */
        .page-todo .todo-item.completed {
            opacity: 0.62 !important;
        }

        .page-todo .todo-item.completed .todo-text {
            color: #94a3b8 !important;
            text-decoration: none !important;
            position: relative !important;
        }

        .page-todo .todo-item.completed .todo-text::after {
            content: '' !important;
            position: absolute !important;
            left: 0 !important;
            top: 50% !important;
            height: 2px !important;
            width: 100% !important;
            background: linear-gradient(90deg, var(--ct-indigo), var(--ct-violet), #ec4899) !important;
            border-radius: 2px !important;
            animation: strikeThrough 0.5s ease-out forwards !important;
            transform: translateY(-50%) !important;
            opacity: 0.65 !important;
        }

        .page-todo .todo-item.completed:hover {
            opacity: 0.78 !important;
        }

        /* ----------------------------------------------------------
           Priority Badges: Glass with Color Glow
        ---------------------------------------------------------- */
        .page-todo .todo-item > .badge {
            backdrop-filter: blur(6px) !important;
            -webkit-backdrop-filter: blur(6px) !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            border-radius: 8px !important;
            padding: 4px 12px !important;
            font-weight: 600 !important;
            font-size: 0.72rem !important;
            letter-spacing: 0.04em !important;
            text-transform: uppercase !important;
            transition: all var(--ct-transition) !important;
            flex-shrink: 0 !important;
        }

        .page-todo .todo-item > .badge.bg-danger {
            background: rgba(239, 68, 68, 0.14) !important;
            color: #dc2626 !important;
            box-shadow: 0 0 12px rgba(239, 68, 68, 0.18) !important;
        }

        .page-todo .todo-item > .badge.bg-warning {
            background: rgba(245, 158, 11, 0.14) !important;
            color: #d97706 !important;
            box-shadow: 0 0 12px rgba(245, 158, 11, 0.18) !important;
        }

        .page-todo .todo-item > .badge.bg-success {
            background: rgba(34, 197, 94, 0.14) !important;
            color: #16a34a !important;
            box-shadow: 0 0 12px rgba(34, 197, 94, 0.15) !important;
        }

        .page-todo .todo-item:hover > .badge {
            transform: scale(1.05) !important;
        }

        /* ----------------------------------------------------------
           Due Date: Pill with Calendar Icon
        ---------------------------------------------------------- */
        .page-todo .todo-due-date {
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
            background: rgba(99, 102, 241, 0.07) !important;
            border: 1px solid rgba(99, 102, 241, 0.10) !important;
            border-radius: var(--ct-radius-pill) !important;
            padding: 3px 12px !important;
            font-size: 0.76rem !important;
            color: #6366f1 !important;
            font-weight: 500 !important;
            white-space: nowrap !important;
            flex-shrink: 0 !important;
            transition: all var(--ct-transition) !important;
        }

        .page-todo .todo-due-date svg, .page-todo .todo-due-date i {
            width: 13px !important;
            height: 13px !important;
            opacity: 0.70 !important;
        }

        .page-todo .todo-item:hover .todo-due-date {
            background: rgba(99, 102, 241, 0.12) !important;
        }

        /* ----------------------------------------------------------
           Delete Button: Hidden, Slide-in on Hover
        ---------------------------------------------------------- */
        .page-todo .todo-delete {
            opacity: 0 !important;
            transform: translateX(10px) !important;
            transition: all var(--ct-transition) !important;
            color: #94a3b8 !important;
            border-radius: 8px !important;
            padding: 4px 8px !important;
            flex-shrink: 0 !important;
            background: transparent !important;
            border: none !important;
        }

        .page-todo .todo-item:hover .todo-delete {
            opacity: 1 !important;
            transform: translateX(0) !important;
            animation: deleteSlideIn 0.3s ease-out !important;
        }

        .page-todo .todo-delete:hover {
            color: var(--ct-danger) !important;
            background: rgba(239, 68, 68, 0.10) !important;
            box-shadow: 0 0 14px rgba(239, 68, 68, 0.22) !important;
        }

        .page-todo .todo-delete svg, .page-todo .todo-delete i {
            width: 15px !important;
            height: 15px !important;
        }

        /* ----------------------------------------------------------
           DARK MODE
        ---------------------------------------------------------- */
        .dark-mode.page-todo{
            --ct-body-bg: #0f1029;
            --ct-glass-bg: rgba(30, 32, 62, 0.60);
            --ct-glass-bg-hover: rgba(40, 42, 78, 0.75);
            --ct-glass-border: rgba(99, 102, 241, 0.15);
            --ct-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.30),
                               0 1.5px 6px rgba(99, 102, 241, 0.08);
            --ct-glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.40),
                                  0 4px 12px rgba(99, 102, 241, 0.12);
            --ct-gradient-border: linear-gradient(135deg, rgba(99,102,241,0.35), rgba(139,92,246,0.20), rgba(236,72,153,0.12));
        }

        .dark-mode.page-todo .page-content {
            background: var(--ct-body-bg) !important;
        }

        .dark-mode.page-todo .col-lg-3 > .card, .dark-mode.page-todo .col-lg-9 > .card {
            background: var(--ct-glass-bg) !important;
            border-color: var(--ct-glass-border) !important;
            box-shadow: var(--ct-glass-shadow) !important;
        }

        .dark-mode.page-todo .col-lg-3 > .card:hover, .dark-mode.page-todo .col-lg-9 > .card:hover {
            box-shadow: var(--ct-glass-shadow-lg) !important;
        }

        .dark-mode.page-todo .col-lg-3 > .card .card-header, .dark-mode.page-todo .col-lg-9 > .card .card-header {
            border-bottom-color: rgba(99, 102, 241, 0.12) !important;
        }

        /* Dark Mode: Categories */
        .dark-mode.page-todo .todo-categories .nav-link {
            background: rgba(30, 32, 62, 0.50) !important;
            border-color: rgba(99, 102, 241, 0.12) !important;
            color: #cbd5e1 !important;
        }

        .dark-mode.page-todo .todo-categories .nav-link:hover {
            background: rgba(99, 102, 241, 0.12) !important;
            border-color: rgba(99, 102, 241, 0.22) !important;
            color: var(--ct-indigo-light) !important;
        }

        .dark-mode.page-todo .todo-categories .nav-link.active {
            background: rgba(99, 102, 241, 0.16) !important;
            border-color: rgba(99, 102, 241, 0.28) !important;
            color: var(--ct-indigo-light) !important;
        }

        .dark-mode.page-todo .todo-categories .badge.bg-primary {
            background: rgba(99, 102, 241, 0.22) !important;
            color: var(--ct-indigo-light) !important;
        }

        .dark-mode.page-todo .todo-categories .badge.bg-success {
            background: rgba(34, 197, 94, 0.20) !important;
            color: #4ade80 !important;
        }

        .dark-mode.page-todo .todo-categories .badge.bg-warning {
            background: rgba(245, 158, 11, 0.20) !important;
            color: #fbbf24 !important;
        }

        .dark-mode.page-todo .todo-categories .badge.bg-danger {
            background: rgba(239, 68, 68, 0.20) !important;
            color: #f87171 !important;
        }

        /* Dark Mode: Filter Buttons */
        .dark-mode.page-todo .col-lg-9 .btn-group {
            background: rgba(30, 32, 62, 0.55) !important;
            border-color: rgba(99, 102, 241, 0.12) !important;
        }

        .dark-mode.page-todo .col-lg-9 .btn-group .btn-outline-primary {
            color: #94a3b8 !important;
        }

        .dark-mode.page-todo .col-lg-9 .btn-group .btn-outline-primary:hover {
            color: var(--ct-indigo-light) !important;
            background: rgba(99, 102, 241, 0.10) !important;
        }

        .dark-mode.page-todo .col-lg-9 .btn-group .btn-outline-primary.active, .dark-mode.page-todo .col-lg-9 .btn-group .btn-outline-primary:active {
            background: var(--ct-gradient-fill) !important;
            color: #fff !important;
        }

        /* Dark Mode: Add Task Input */
        .dark-mode.page-todo .col-lg-9 .input-group {
            background: rgba(30, 32, 62, 0.55) !important;
            border-color: rgba(99, 102, 241, 0.15) !important;
        }

        .dark-mode.page-todo .col-lg-9 .input-group:focus-within {
            border-color: rgba(99, 102, 241, 0.50) !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15),
                         0 4px 16px rgba(99, 102, 241, 0.12) !important;
        }

        .dark-mode.page-todo .col-lg-9 .input-group .form-control {
            color: #e2e8f0 !important;
        }

        .dark-mode.page-todo .col-lg-9 .input-group .form-control::placeholder {
            color: #64748b !important;
        }

        /* Dark Mode: Todo Items */
        .dark-mode.page-todo .todo-item {
            background: rgba(30, 32, 62, 0.40) !important;
            border-bottom-color: rgba(99, 102, 241, 0.08) !important;
        }

        .dark-mode.page-todo .todo-item:hover {
            background: rgba(40, 42, 78, 0.60) !important;
            box-shadow: 0 4px 18px rgba(99, 102, 241, 0.10) !important;
        }

        .dark-mode.page-todo .todo-text {
            color: #e2e8f0 !important;
        }

        .dark-mode.page-todo .todo-item.completed .todo-text {
            color: #64748b !important;
        }

        .dark-mode.page-todo .todo-item .form-check-input {
            border-color: rgba(99, 102, 241, 0.35) !important;
            background: rgba(30, 32, 62, 0.60) !important;
        }

        .dark-mode.page-todo .todo-item .form-check-input:hover {
            border-color: var(--ct-indigo-light) !important;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18) !important;
        }

        .dark-mode.page-todo .todo-item .form-check-input:checked {
            background: var(--ct-gradient-fill) !important;
            border-color: var(--ct-indigo) !important;
        }

        /* Dark Mode: Priority Badges */
        .dark-mode.page-todo .todo-item > .badge.bg-danger {
            background: rgba(239, 68, 68, 0.18) !important;
            color: #f87171 !important;
            box-shadow: 0 0 14px rgba(239, 68, 68, 0.22) !important;
        }

        .dark-mode.page-todo .todo-item > .badge.bg-warning {
            background: rgba(245, 158, 11, 0.18) !important;
            color: #fbbf24 !important;
            box-shadow: 0 0 14px rgba(245, 158, 11, 0.22) !important;
        }

        .dark-mode.page-todo .todo-item > .badge.bg-success {
            background: rgba(34, 197, 94, 0.18) !important;
            color: #4ade80 !important;
            box-shadow: 0 0 14px rgba(34, 197, 94, 0.18) !important;
        }

        /* Dark Mode: Due Date */
        .dark-mode.page-todo .todo-due-date {
            background: rgba(99, 102, 241, 0.12) !important;
            border-color: rgba(99, 102, 241, 0.18) !important;
            color: var(--ct-indigo-light) !important;
        }

        .dark-mode.page-todo .todo-item:hover .todo-due-date {
            background: rgba(99, 102, 241, 0.18) !important;
        }

        /* Dark Mode: Delete Button */
        .dark-mode.page-todo .todo-delete {
            color: #64748b !important;
        }

        .dark-mode.page-todo .todo-delete:hover {
            color: #f87171 !important;
            background: rgba(239, 68, 68, 0.14) !important;
            box-shadow: 0 0 14px rgba(239, 68, 68, 0.25) !important;
        }

        /* ----------------------------------------------------------
           Responsive Adjustments
        ---------------------------------------------------------- */
        @media (max-width: 991.98px) {
            .page-todo .col-lg-3 > .card, .page-todo .col-lg-9 > .card {
                border-radius: 12px !important;
            }

            .page-todo .todo-item {
                padding: 12px 14px !important;
                gap: 8px !important;
                flex-wrap: wrap !important;
            }

            .page-todo .todo-text {
                font-size: 0.84rem !important;
                min-width: 120px !important;
                flex-basis: calc(100% - 40px) !important;
                order: 1 !important;
            }

            .page-todo .todo-item .form-check {
                order: 0 !important;
            }

            .page-todo .todo-item > .badge {
                order: 2 !important;
                font-size: 0.68rem !important;
                padding: 3px 8px !important;
            }

            .page-todo .todo-due-date {
                order: 3 !important;
                font-size: 0.72rem !important;
                padding: 2px 10px !important;
            }

            .page-todo .todo-delete {
                order: 4 !important;
                opacity: 0.6 !important;
                transform: none !important;
            }

            .page-todo .col-lg-9 .card-header .d-flex {
                flex-direction: column !important;
                align-items: stretch !important;
            }

            .page-todo .col-lg-9 .input-group {
                max-width: 100% !important;
            }
        }

        @media (max-width: 575.98px) {
            .page-todo .col-lg-9 .btn-group .btn-outline-primary {
                padding: 5px 14px !important;
                font-size: 0.78rem !important;
            }

            .page-todo .todo-item {
                padding: 10px 12px !important;
            }

            .page-todo .todo-due-date {
                font-size: 0.68rem !important;
            }

            .page-todo .todo-item > .badge {
                font-size: 0.64rem !important;
            }
        }

        /* ----------------------------------------------------------
           Scrollbar Styling for Todo List
        ---------------------------------------------------------- */
        .page-todo .todo-list::-webkit-scrollbar {
            width: 5px !important;
        }

        .page-todo .todo-list::-webkit-scrollbar-track {
            background: transparent !important;
        }

        .page-todo .todo-list::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.20) !important;
            border-radius: 10px !important;
        }

        .page-todo .todo-list::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.35) !important;
        }

        /* ----------------------------------------------------------
           Accessibility: Reduced Motion
        ---------------------------------------------------------- */
        @media (prefers-reduced-motion: reduce) {
            .page-todo .todo-item {
                animation: none !important;
            }

            .page-todo .todo-item .form-check-input:checked {
                animation: none !important;
            }

            .page-todo .todo-item.completed .todo-text::after {
                animation: none !important;
                width: 100% !important;
            }

            .page-todo .todo-delete, .page-todo .todo-categories .nav-link, .page-todo .col-lg-9 .btn-group .btn-outline-primary {
                transition: none !important;
            }
        }


/* ===========================================
   Page: dashboard-crm
   ========================================== */
/* CRM Dashboard Unique Styles */
    .page-dashboard-crm .crm-card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        border-left: 4px solid #F59E0B;
    }
    .page-dashboard-crm .crm-card .card-header {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), rgba(217, 119, 6, 0.04));
        border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    }
    .page-dashboard-crm .crm-metric-card {
        padding: 20px;
        border-radius: 14px;
        background: linear-gradient(135deg, #fffbeb, #fef3c7);
        border: 1px solid rgba(245, 158, 11, 0.15);
        text-align: center;
        transition: all 0.3s ease;
    }
    .page-dashboard-crm .crm-metric-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
    }
    .page-dashboard-crm .crm-metric-card .crm-value {
        font-size: 1.8rem;
        font-weight: 800;
        background: linear-gradient(135deg, #F59E0B, #D97706);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .page-dashboard-crm .crm-metric-card .crm-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #92400e;
        margin-top: 4px;
    }
    .page-dashboard-crm .crm-contact-card {
        display: flex;
        align-items: center;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-crm .crm-contact-card:hover {
        background: #fffbeb;
        border-color: rgba(245, 158, 11, 0.2);
    }
    .page-dashboard-crm .crm-contact-card:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-crm .crm-timeline {
        position: relative;
        padding-left: 28px;
    }
    .page-dashboard-crm .crm-timeline::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, #F59E0B, rgba(245, 158, 11, 0.1));
    }
    .page-dashboard-crm .crm-timeline-item {
        position: relative;
        padding-bottom: 20px;
    }
    .page-dashboard-crm .crm-timeline-item:last-child {
        padding-bottom: 0;
    }
    .page-dashboard-crm .crm-timeline-item::before {
        content: '';
        position: absolute;
        left: -22px;
        top: 4px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #F59E0B;
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
    }
    .page-dashboard-crm .crm-email-stat {
        text-align: center;
        padding: 16px;
        border-radius: 12px;
        background: #fffbeb;
        border: 1px solid rgba(245, 158, 11, 0.1);
    }
    .page-dashboard-crm .crm-meeting-item {
        display: flex;
        align-items: flex-start;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-crm .crm-meeting-item:hover {
        border-color: rgba(245, 158, 11, 0.3);
        background: rgba(245, 158, 11, 0.02);
    }
    .page-dashboard-crm .crm-meeting-item:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-crm .crm-meeting-time {
        background: linear-gradient(135deg, #F59E0B, #D97706);
        color: white;
        padding: 8px 12px;
        border-radius: 10px;
        text-align: center;
        min-width: 60px;
        margin-right: 14px;
    }
    .page-dashboard-crm .crm-win-loss .bar-container {
        display: flex;
        height: 12px;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 8px;
    }
    .dark-mode.page-dashboard-crm .crm-card {
        border-left-color: #D97706;
    }
    .dark-mode.page-dashboard-crm .crm-card .card-header {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(217, 119, 6, 0.06));
        border-bottom-color: rgba(245, 158, 11, 0.15);
    }
    .dark-mode.page-dashboard-crm .crm-metric-card {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.12));
        border-color: rgba(245, 158, 11, 0.25);
    }
    .dark-mode.page-dashboard-crm .crm-metric-card .crm-value {
        background: linear-gradient(135deg, #FBBF24, #F59E0B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .dark-mode.page-dashboard-crm .crm-metric-card .crm-label {
        color: #94A3B8;
    }
    .dark-mode.page-dashboard-crm .crm-contact-card {
        border-color: #334155;
    }
    .dark-mode.page-dashboard-crm .crm-contact-card:hover {
        background: rgba(245, 158, 11, 0.12);
        border-color: rgba(245, 158, 11, 0.25);
    }
    .dark-mode.page-dashboard-crm .crm-timeline::before {
        background: linear-gradient(180deg, #D97706, rgba(217, 119, 6, 0.1));
    }
    .dark-mode.page-dashboard-crm .crm-email-stat {
        background: rgba(245, 158, 11, 0.06);
        border-color: rgba(245, 158, 11, 0.15);
    }
    .dark-mode.page-dashboard-crm .crm-meeting-item {
        border-color: rgba(255,255,255,0.06);
    }
/* CRM Stat Cards - Warm Sunset Strip Design */
.page-dashboard-crm .stat-sunset {
    border: none;
    border-radius: 18px;
    background: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 12px rgba(245, 158, 11, 0.06);
}
.page-dashboard-crm .stat-sunset:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(245, 158, 11, 0.12);
}
.page-dashboard-crm .stat-sunset .sunset-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 0 4px 4px 0;
}
.page-dashboard-crm .stat-sunset.sunset-amber .sunset-strip { background: linear-gradient(180deg, #FBBF24, #F59E0B, #D97706); }
.page-dashboard-crm .stat-sunset.sunset-rose .sunset-strip { background: linear-gradient(180deg, #FB7185, #F43F5E, #E11D48); }
.page-dashboard-crm .stat-sunset.sunset-violet .sunset-strip { background: linear-gradient(180deg, #A78BFA, #8B5CF6, #7C3AED); }
.page-dashboard-crm .stat-sunset.sunset-sky .sunset-strip { background: linear-gradient(180deg, #38BDF8, #0EA5E9, #0284C7); }
.page-dashboard-crm .stat-sunset .card-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 20px;
}
.page-dashboard-crm .stat-sunset .sunset-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.page-dashboard-crm .stat-sunset .sunset-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.page-dashboard-crm .stat-sunset .sunset-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    opacity: 0.15;
}
.page-dashboard-crm .stat-sunset.sunset-amber .sunset-icon { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #B45309; }
.page-dashboard-crm .stat-sunset.sunset-amber .sunset-icon::after { background: #F59E0B; }
.page-dashboard-crm .stat-sunset.sunset-rose .sunset-icon { background: linear-gradient(135deg, #FFE4E6, #FECDD3); color: #BE123C; }
.page-dashboard-crm .stat-sunset.sunset-rose .sunset-icon::after { background: #F43F5E; }
.page-dashboard-crm .stat-sunset.sunset-violet .sunset-icon { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #6D28D9; }
.page-dashboard-crm .stat-sunset.sunset-violet .sunset-icon::after { background: #8B5CF6; }
.page-dashboard-crm .stat-sunset.sunset-sky .sunset-icon { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); color: #0369A1; }
.page-dashboard-crm .stat-sunset.sunset-sky .sunset-icon::after { background: #0EA5E9; }
.page-dashboard-crm .stat-sunset .sunset-info { flex-grow: 1; }
.page-dashboard-crm .stat-sunset .sunset-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}
.page-dashboard-crm .stat-sunset .sunset-label {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 500;
    margin-top: 2px;
}
.page-dashboard-crm .stat-sunset .sunset-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 6px;
}
.page-dashboard-crm .stat-sunset .sunset-change svg { width: 14px; height: 14px; }
.page-dashboard-crm .stat-sunset .sunset-change.up { color: #16A34A; }
.page-dashboard-crm .stat-sunset .sunset-change.down { color: #DC2626; }
.page-dashboard-crm .stat-sunset .sunset-mini-chart {
    width: 80px;
    height: 40px;
    flex-shrink: 0;
    opacity: 0.6;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding-right: 4px;
}
.page-dashboard-crm .stat-sunset .sunset-mini-chart .bar {
    flex: 1;
    border-radius: 2px;
    transition: height 0.3s ease;
}
.page-dashboard-crm .stat-sunset:hover .sunset-mini-chart { opacity: 1; }
.page-dashboard-crm .stat-sunset.sunset-amber .sunset-mini-chart .bar { background: #FBBF24; }
.page-dashboard-crm .stat-sunset.sunset-rose .sunset-mini-chart .bar { background: #FB7185; }
.page-dashboard-crm .stat-sunset.sunset-violet .sunset-mini-chart .bar { background: #A78BFA; }
.page-dashboard-crm .stat-sunset.sunset-sky .sunset-mini-chart .bar { background: #38BDF8; }
/* CRM Charts Row */
.page-dashboard-crm .crm-chart-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 12px rgba(245, 158, 11, 0.06);
}
.page-dashboard-crm .crm-chart-card .card-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(245, 158, 11, 0.03));
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}
.page-dashboard-crm .crm-chart-card .card-header::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FBBF24, #D97706);
    margin-right: 10px;
    vertical-align: middle;
}
.dark-mode.page-dashboard-crm .stat-sunset {
    background: var(--card-bg, #1E293B);
    box-shadow: 0 1px 12px rgba(0,0,0,0.2);
}
.dark-mode.page-dashboard-crm .stat-sunset:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
.dark-mode.page-dashboard-crm .stat-sunset .sunset-value { color: #F1F5F9; }
.dark-mode.page-dashboard-crm .stat-sunset .sunset-label { color: #94A3B8; }
.dark-mode.page-dashboard-crm .crm-chart-card {
    box-shadow: 0 1px 12px rgba(0,0,0,0.2);
}
.dark-mode.page-dashboard-crm .crm-chart-card .card-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.04));
    border-bottom-color: rgba(245, 158, 11, 0.15);
}


/* ===========================================
   Page: dashboard-ecommerce
   ========================================== */
/* eCommerce Dashboard Unique Styles */
    .page-dashboard-ecommerce .ecom-card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        border-top: 3px solid #22C55E;
    }
    .page-dashboard-ecommerce .ecom-card .card-header {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), rgba(16, 185, 129, 0.04));
        border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    }
    .page-dashboard-ecommerce .ecom-stat-mini {
        background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
        border-radius: 12px;
        padding: 16px;
        border: 1px solid rgba(34, 197, 94, 0.12);
        transition: all 0.3s ease;
    }
    .page-dashboard-ecommerce .ecom-stat-mini:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(34, 197, 94, 0.12);
    }
    .page-dashboard-ecommerce .ecom-stat-mini .mini-value {
        font-size: 1.5rem;
        font-weight: 800;
        color: #16A34A;
    }
    .page-dashboard-ecommerce .ecom-stat-mini .mini-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #64748b;
        margin-top: 2px;
    }
    .page-dashboard-ecommerce .ecom-product-card {
        display: flex;
        align-items: center;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-ecommerce .ecom-product-card:hover {
        background: #f0fdf4;
        border-color: rgba(34, 197, 94, 0.2);
    }
    .page-dashboard-ecommerce .ecom-product-card:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-ecommerce .ecom-product-img {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 14px;
        flex-shrink: 0;
    }
    .page-dashboard-ecommerce .ecom-rating {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .page-dashboard-ecommerce .ecom-rating .star {
        color: #F59E0B;
        font-size: 12px;
    }
    .page-dashboard-ecommerce .ecom-rating .star.empty {
        color: #E2E8F0;
    }
    .page-dashboard-ecommerce .ecom-review-card {
        padding: 16px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 12px;
        transition: all 0.3s ease;
    }
    .page-dashboard-ecommerce .ecom-review-card:hover {
        border-color: rgba(34, 197, 94, 0.2);
        background: rgba(34, 197, 94, 0.02);
    }
    .page-dashboard-ecommerce .ecom-review-card:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-ecommerce .ecom-inventory-bar {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .page-dashboard-ecommerce .ecom-inventory-bar:last-child {
        border-bottom: none;
    }
    .page-dashboard-ecommerce .ecom-shipping-stat {
        text-align: center;
        padding: 20px 16px;
        border-radius: 12px;
        background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
        border: 1px solid rgba(34, 197, 94, 0.1);
    }
    .page-dashboard-ecommerce .ecom-shipping-stat .ship-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
    }
    .dark-mode.page-dashboard-ecommerce .ecom-card {
        border-top-color: #16A34A;
    }
    .dark-mode.page-dashboard-ecommerce .ecom-card .card-header {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(16, 185, 129, 0.06));
        border-bottom-color: rgba(34, 197, 94, 0.15);
    }
    .dark-mode.page-dashboard-ecommerce .ecom-stat-mini {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.12));
        border-color: rgba(34, 197, 94, 0.2);
    }
    .dark-mode.page-dashboard-ecommerce .ecom-stat-mini .mini-value {
        color: #4ADE80;
    }
    .dark-mode.page-dashboard-ecommerce .ecom-stat-mini .mini-label {
        color: #94A3B8;
    }
    .dark-mode.page-dashboard-ecommerce .ecom-product-card {
        border-color: #334155;
    }
    .dark-mode.page-dashboard-ecommerce .ecom-product-card:hover {
        background: rgba(34, 197, 94, 0.12);
        border-color: rgba(34, 197, 94, 0.25);
    }
    .dark-mode.page-dashboard-ecommerce .ecom-review-card {
        border-color: rgba(255,255,255,0.06);
    }
    .dark-mode.page-dashboard-ecommerce .ecom-inventory-bar {
        border-bottom-color: #334155;
    }
    .dark-mode.page-dashboard-ecommerce .ecom-shipping-stat {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
        border-color: rgba(34, 197, 94, 0.15);
    }
/* eCommerce Stat Cards - Neon Shelf Design */
.page-dashboard-ecommerce .stat-shelf {
    border: none;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8faf8);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.05);
}
.page-dashboard-ecommerce .stat-shelf::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    transition: all 0.35s ease;
}
.page-dashboard-ecommerce .stat-shelf:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 16px 48px rgba(34, 197, 94, 0.12);
}
.page-dashboard-ecommerce .stat-shelf:hover::after {
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0;
}
.page-dashboard-ecommerce .stat-shelf.shelf-green::after { background: linear-gradient(90deg, #22C55E, #10B981); }
.page-dashboard-ecommerce .stat-shelf.shelf-blue::after { background: linear-gradient(90deg, #3B82F6, #2563EB); }
.page-dashboard-ecommerce .stat-shelf.shelf-orange::after { background: linear-gradient(90deg, #F97316, #EA580C); }
.page-dashboard-ecommerce .stat-shelf.shelf-teal::after { background: linear-gradient(90deg, #14B8A6, #0D9488); }
.page-dashboard-ecommerce .stat-shelf .shelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.page-dashboard-ecommerce .stat-shelf .shelf-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-dashboard-ecommerce .stat-shelf .shelf-icon-wrap svg { width: 22px; height: 22px; stroke-width: 1.8; }
.page-dashboard-ecommerce .stat-shelf.shelf-green .shelf-icon-wrap { background: rgba(34, 197, 94, 0.1); color: #16A34A; }
.page-dashboard-ecommerce .stat-shelf.shelf-blue .shelf-icon-wrap { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.page-dashboard-ecommerce .stat-shelf.shelf-orange .shelf-icon-wrap { background: rgba(249, 115, 22, 0.1); color: #EA580C; }
.page-dashboard-ecommerce .stat-shelf.shelf-teal .shelf-icon-wrap { background: rgba(20, 184, 166, 0.1); color: #0D9488; }
.page-dashboard-ecommerce .stat-shelf .shelf-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.page-dashboard-ecommerce .stat-shelf .shelf-badge svg { width: 12px; height: 12px; }
.page-dashboard-ecommerce .stat-shelf .shelf-badge.up { color: #16A34A; background: rgba(34, 197, 94, 0.1); }
.page-dashboard-ecommerce .stat-shelf .shelf-badge.down { color: #DC2626; background: rgba(220, 38, 38, 0.1); }
.page-dashboard-ecommerce .stat-shelf .shelf-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
    margin-bottom: 4px;
}
.page-dashboard-ecommerce .stat-shelf .shelf-label {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 500;
    margin-bottom: 14px;
}
.page-dashboard-ecommerce .stat-shelf .shelf-progress {
    height: 4px;
    border-radius: 2px;
    background: #f1f5f9;
    overflow: hidden;
    margin-bottom: 4px;
}
.page-dashboard-ecommerce .stat-shelf .shelf-progress .bar {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}
.page-dashboard-ecommerce .stat-shelf.shelf-green .shelf-progress .bar { background: linear-gradient(90deg, #22C55E, #10B981); }
.page-dashboard-ecommerce .stat-shelf.shelf-blue .shelf-progress .bar { background: linear-gradient(90deg, #3B82F6, #2563EB); }
.page-dashboard-ecommerce .stat-shelf.shelf-orange .shelf-progress .bar { background: linear-gradient(90deg, #F97316, #EA580C); }
.page-dashboard-ecommerce .stat-shelf.shelf-teal .shelf-progress .bar { background: linear-gradient(90deg, #14B8A6, #0D9488); }
.page-dashboard-ecommerce .stat-shelf .shelf-target {
    font-size: 0.7rem;
    color: #94A3B8;
    text-align: right;
}
/* eCommerce Charts Row */
.page-dashboard-ecommerce .ecom-chart-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.05);
    border-left: 4px solid #22C55E;
}
.page-dashboard-ecommerce .ecom-chart-card .card-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.03), rgba(16, 185, 129, 0.03));
    border-bottom: 1px solid rgba(34, 197, 94, 0.08);
}
.page-dashboard-ecommerce .ecom-chart-card .card-header .card-title { color: #16A34A; }
.page-dashboard-ecommerce .ecom-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 8px;
}
.dark-mode.page-dashboard-ecommerce .stat-shelf {
    background: linear-gradient(145deg, var(--card-bg, #1E293B), rgba(30, 41, 59, 0.9));
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.dark-mode.page-dashboard-ecommerce .stat-shelf:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.dark-mode.page-dashboard-ecommerce .stat-shelf .shelf-value { color: #F1F5F9; }
.dark-mode.page-dashboard-ecommerce .stat-shelf .shelf-label { color: #94A3B8; }
.dark-mode.page-dashboard-ecommerce .stat-shelf .shelf-progress { background: rgba(255,255,255,0.06); }
.dark-mode.page-dashboard-ecommerce .ecom-chart-card {
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    border-left-color: #16A34A;
}
.dark-mode.page-dashboard-ecommerce .ecom-chart-card .card-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(16, 185, 129, 0.06));
    border-bottom-color: rgba(34, 197, 94, 0.12);
}


/* ===========================================
   Page: dashboard-hr
   ========================================== */
/* HR Dashboard Unique Styles */
    .page-dashboard-hr .hr-card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        border-right: 4px solid #EC4899;
    }
    .page-dashboard-hr .hr-card .card-header {
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.04), rgba(219, 39, 119, 0.04));
        border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    }
    .page-dashboard-hr .hr-metric {
        background: linear-gradient(135deg, #fdf2f8, #fce7f3);
        border-radius: 14px;
        padding: 18px;
        text-align: center;
        border: 1px solid rgba(236, 72, 153, 0.12);
        transition: all 0.3s ease;
    }
    .page-dashboard-hr .hr-metric:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
    }
    .page-dashboard-hr .hr-metric .hr-value {
        font-size: 1.6rem;
        font-weight: 800;
        background: linear-gradient(135deg, #EC4899, #DB2777);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .page-dashboard-hr .hr-metric .hr-label {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #64748b;
        margin-top: 4px;
    }
    .page-dashboard-hr .hr-employee-card {
        display: flex;
        align-items: center;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-hr .hr-employee-card:hover {
        background: #fdf2f8;
        border-color: rgba(236, 72, 153, 0.2);
    }
    .page-dashboard-hr .hr-employee-card:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-hr .hr-progress-ring {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.85rem;
        margin-right: 14px;
        flex-shrink: 0;
    }
    .page-dashboard-hr .hr-training-item {
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-hr .hr-training-item:hover {
        border-color: rgba(236, 72, 153, 0.2);
        background: rgba(236, 72, 153, 0.02);
    }
    .page-dashboard-hr .hr-training-item:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-hr .hr-diversity-bar {
        display: flex;
        height: 10px;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 12px;
    }
    .page-dashboard-hr .hr-review-score {
        text-align: center;
        padding: 16px;
        border-radius: 12px;
        background: #fdf2f8;
        border: 1px solid rgba(236, 72, 153, 0.1);
    }
    .page-dashboard-hr .hr-pipeline-step {
        display: flex;
        align-items: center;
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 8px;
        background: rgba(236, 72, 153, 0.03);
        border: 1px solid rgba(236, 72, 153, 0.08);
    }
    .page-dashboard-hr .hr-pipeline-step:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-hr .hr-pipeline-num {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #EC4899, #DB2777);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.8rem;
        margin-right: 12px;
        flex-shrink: 0;
    }
    .page-dashboard-hr .hr-turnover-item {
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .page-dashboard-hr .hr-turnover-item:last-child {
        border-bottom: none;
    }
    .dark-mode.page-dashboard-hr .hr-card {
        border-right-color: #DB2777;
    }
    .dark-mode.page-dashboard-hr .hr-card .card-header {
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(219, 39, 119, 0.06));
        border-bottom-color: rgba(236, 72, 153, 0.15);
    }
    .dark-mode.page-dashboard-hr .hr-metric {
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(219, 39, 119, 0.12));
        border-color: rgba(236, 72, 153, 0.25);
    }
    .dark-mode.page-dashboard-hr .hr-metric .hr-value {
        background: linear-gradient(135deg, #F472B6, #EC4899);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .dark-mode.page-dashboard-hr .hr-metric .hr-label {
        color: #94A3B8;
    }
    .dark-mode.page-dashboard-hr .hr-employee-card {
        border-color: rgba(255,255,255,0.06);
    }
    .dark-mode.page-dashboard-hr .hr-employee-card:hover {
        background: rgba(236, 72, 153, 0.06);
    }
    .dark-mode.page-dashboard-hr .hr-training-item {
        border-color: rgba(255,255,255,0.06);
    }
    .dark-mode.page-dashboard-hr .hr-review-score {
        background: rgba(236, 72, 153, 0.06);
        border-color: rgba(236, 72, 153, 0.15);
    }
    .dark-mode.page-dashboard-hr .hr-pipeline-step {
        background: rgba(236, 72, 153, 0.04);
        border-color: rgba(236, 72, 153, 0.1);
    }
    .dark-mode.page-dashboard-hr .hr-turnover-item {
        border-bottom-color: rgba(255,255,255,0.06);
    }
/* HR Stat Cards - People Bubble Design */
.page-dashboard-hr .stat-bubble {
    border: none;
    border-radius: 24px;
    background: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 16px rgba(236, 72, 153, 0.05);
}
.page-dashboard-hr .stat-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(236, 72, 153, 0.12);
}
.page-dashboard-hr .stat-bubble::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.06;
    transition: all 0.4s ease;
}
.page-dashboard-hr .stat-bubble::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.04;
    transition: all 0.4s ease;
}
.page-dashboard-hr .stat-bubble:hover::before { transform: scale(1.3); opacity: 0.1; }
.page-dashboard-hr .stat-bubble:hover::after { transform: scale(1.2); opacity: 0.08; }
.page-dashboard-hr .stat-bubble.bubble-pink::before, .page-dashboard-hr .stat-bubble.bubble-pink::after { background: #EC4899; }
.page-dashboard-hr .stat-bubble.bubble-green::before, .page-dashboard-hr .stat-bubble.bubble-green::after { background: #22C55E; }
.page-dashboard-hr .stat-bubble.bubble-amber::before, .page-dashboard-hr .stat-bubble.bubble-amber::after { background: #F59E0B; }
.page-dashboard-hr .stat-bubble.bubble-red::before, .page-dashboard-hr .stat-bubble.bubble-red::after { background: #EF4444; }
.page-dashboard-hr .stat-bubble .bubble-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.page-dashboard-hr .stat-bubble .bubble-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.page-dashboard-hr .stat-bubble .bubble-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed;
    opacity: 0.3;
    animation: bubbleSpin 12s linear infinite;
}
@keyframes bubbleSpin {
    to { transform: rotate(360deg); }
}
.page-dashboard-hr .stat-bubble .bubble-ring svg { width: 26px; height: 26px; stroke-width: 1.8; position: relative; z-index: 1; }
.page-dashboard-hr .stat-bubble.bubble-pink .bubble-ring { background: linear-gradient(135deg, #FDF2F8, #FCE7F3); color: #DB2777; }
.page-dashboard-hr .stat-bubble.bubble-pink .bubble-ring::before { border-color: #EC4899; }
.page-dashboard-hr .stat-bubble.bubble-green .bubble-ring { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); color: #16A34A; }
.page-dashboard-hr .stat-bubble.bubble-green .bubble-ring::before { border-color: #22C55E; }
.page-dashboard-hr .stat-bubble.bubble-amber .bubble-ring { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); color: #D97706; }
.page-dashboard-hr .stat-bubble.bubble-amber .bubble-ring::before { border-color: #F59E0B; }
.page-dashboard-hr .stat-bubble.bubble-red .bubble-ring { background: linear-gradient(135deg, #FEF2F2, #FEE2E2); color: #DC2626; }
.page-dashboard-hr .stat-bubble.bubble-red .bubble-ring::before { border-color: #EF4444; }
.page-dashboard-hr .stat-bubble .bubble-value {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    line-height: 1;
    margin-bottom: 4px;
}
.page-dashboard-hr .stat-bubble.bubble-pink .bubble-value { background: linear-gradient(135deg, #EC4899, #DB2777); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-dashboard-hr .stat-bubble.bubble-green .bubble-value { background: linear-gradient(135deg, #22C55E, #16A34A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-dashboard-hr .stat-bubble.bubble-amber .bubble-value { background: linear-gradient(135deg, #F59E0B, #D97706); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-dashboard-hr .stat-bubble.bubble-red .bubble-value { background: linear-gradient(135deg, #EF4444, #DC2626); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-dashboard-hr .stat-bubble .bubble-label {
    font-size: 0.8rem;
    color: #64748B;
    text-align: center;
    font-weight: 500;
    margin-bottom: 14px;
}
.page-dashboard-hr .stat-bubble .bubble-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.page-dashboard-hr .stat-bubble .bubble-change {
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 20px;
}
.page-dashboard-hr .stat-bubble .bubble-change svg { width: 14px; height: 14px; }
.page-dashboard-hr .stat-bubble .bubble-change.up { color: #16A34A; background: #F0FDF4; }
.page-dashboard-hr .stat-bubble .bubble-change.down { color: #DC2626; background: #FEF2F2; }
/* HR Charts Row */
.page-dashboard-hr .hr-chart-card {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(236, 72, 153, 0.05);
}
.page-dashboard-hr .hr-chart-card .card-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.04), rgba(219, 39, 119, 0.02));
    border-bottom: 1px solid rgba(236, 72, 153, 0.08);
}
.page-dashboard-hr .hr-chart-card .card-header .card-title {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dark-mode.page-dashboard-hr .stat-bubble {
    background: var(--card-bg, #1E293B);
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.dark-mode.page-dashboard-hr .stat-bubble:hover { box-shadow: 0 14px 40px rgba(0,0,0,0.3); }
.dark-mode.page-dashboard-hr .stat-bubble .bubble-label { color: #94A3B8; }
.dark-mode.page-dashboard-hr .stat-bubble .bubble-footer { border-top-color: #334155; }
.dark-mode.page-dashboard-hr .stat-bubble .bubble-change.up { background: rgba(34, 197, 94, 0.15); color: #4ADE80; }
.dark-mode.page-dashboard-hr .stat-bubble .bubble-change.down { background: rgba(239, 68, 68, 0.15); color: #F87171; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-pink .bubble-ring { background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(219, 39, 119, 0.15)); color: #F472B6; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-green .bubble-ring { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15)); color: #4ADE80; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-amber .bubble-ring { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15)); color: #FBBF24; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-red .bubble-ring { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15)); color: #F87171; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-pink .bubble-value { background: linear-gradient(135deg, #F472B6, #EC4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-green .bubble-value { background: linear-gradient(135deg, #4ADE80, #22C55E); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-amber .bubble-value { background: linear-gradient(135deg, #FBBF24, #F59E0B); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dark-mode.page-dashboard-hr .stat-bubble.bubble-red .bubble-value { background: linear-gradient(135deg, #F87171, #EF4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dark-mode.page-dashboard-hr .hr-chart-card {
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.dark-mode.page-dashboard-hr .hr-chart-card .card-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(219, 39, 119, 0.04));
    border-bottom-color: rgba(236, 72, 153, 0.12);
}


/* ===========================================
   Page: dashboard-project
   ========================================== */
/* Project Dashboard Unique Styles */
    .page-dashboard-project .project-card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        border-bottom: 3px solid #6366F1;
    }
    .page-dashboard-project .project-card .card-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(79, 70, 229, 0.04));
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }
    .page-dashboard-project .project-metric {
        background: linear-gradient(135deg, #eef2ff, #e0e7ff);
        border-radius: 14px;
        padding: 18px;
        text-align: center;
        border: 1px solid rgba(99, 102, 241, 0.12);
        transition: all 0.3s ease;
    }
    .page-dashboard-project .project-metric:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
    }
    .page-dashboard-project .project-metric .pm-value {
        font-size: 1.6rem;
        font-weight: 800;
        color: #4F46E5;
    }
    .page-dashboard-project .project-metric .pm-label {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #64748b;
        margin-top: 4px;
    }
    .page-dashboard-project .sprint-item {
        display: flex;
        align-items: center;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-project .sprint-item:hover {
        background: #eef2ff;
        border-color: rgba(99, 102, 241, 0.2);
    }
    .page-dashboard-project .sprint-item:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-project .sprint-badge {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.85rem;
        margin-right: 14px;
        flex-shrink: 0;
        color: white;
    }
    .page-dashboard-project .milestone-item {
        display: flex;
        align-items: flex-start;
        padding: 14px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .page-dashboard-project .milestone-item:last-child {
        border-bottom: none;
    }
    .page-dashboard-project .milestone-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 14px;
        margin-top: 4px;
        flex-shrink: 0;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    }
    .page-dashboard-project .risk-card {
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .page-dashboard-project .risk-card:hover {
        border-color: rgba(99, 102, 241, 0.15);
    }
    .page-dashboard-project .risk-card:last-child {
        margin-bottom: 0;
    }
    .page-dashboard-project .risk-level {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 6px;
    }
    .page-dashboard-project .code-review-stat {
        text-align: center;
        padding: 16px;
        border-radius: 12px;
        background: linear-gradient(135deg, #eef2ff, #e0e7ff);
        border: 1px solid rgba(99, 102, 241, 0.1);
    }
    .page-dashboard-project .budget-item {
        display: flex;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .page-dashboard-project .budget-item:last-child {
        border-bottom: none;
    }
    .dark-mode.page-dashboard-project .project-card {
        border-bottom-color: #4F46E5;
    }
    .dark-mode.page-dashboard-project .project-card .card-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(79, 70, 229, 0.06));
        border-bottom-color: rgba(99, 102, 241, 0.15);
    }
    .dark-mode.page-dashboard-project .project-metric {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(79, 70, 229, 0.12));
        border-color: rgba(99, 102, 241, 0.25);
    }
    .dark-mode.page-dashboard-project .project-metric .pm-value {
        color: #A5B4FC;
    }
    .dark-mode.page-dashboard-project .project-metric .pm-label {
        color: #94A3B8;
    }
    .dark-mode.page-dashboard-project .sprint-item {
        border-color: #334155;
    }
    .dark-mode.page-dashboard-project .sprint-item:hover {
        background: rgba(99, 102, 241, 0.12);
        border-color: rgba(99, 102, 241, 0.25);
    }
    .dark-mode.page-dashboard-project .milestone-item {
        border-bottom-color: rgba(255,255,255,0.06);
    }
    .dark-mode.page-dashboard-project .risk-card {
        border-color: rgba(255,255,255,0.06);
    }
    .dark-mode.page-dashboard-project .code-review-stat {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(79, 70, 229, 0.08));
        border-color: rgba(99, 102, 241, 0.15);
    }
    .dark-mode.page-dashboard-project .budget-item {
        border-bottom-color: rgba(255,255,255,0.06);
    }
    /* Project Stat Cards - Blueprint Tech Panel Design */
    .page-dashboard-project .stat-blueprint {
        border: 2px dashed rgba(99, 102, 241, 0.15);
        border-radius: 14px;
        background: white;
        position: relative;
        overflow: visible;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .page-dashboard-project .stat-blueprint:hover {
        border-color: rgba(99, 102, 241, 0.3);
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(99, 102, 241, 0.1);
    }
    .page-dashboard-project .stat-blueprint::before, .page-dashboard-project .stat-blueprint::after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        border: 2px solid #6366F1;
        opacity: 0.25;
    }
    .page-dashboard-project .stat-blueprint::before { top: -1px; left: -1px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
    .page-dashboard-project .stat-blueprint::after { bottom: -1px; right: -1px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
    .page-dashboard-project .stat-blueprint .bp-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 1px dashed rgba(99, 102, 241, 0.1);
    }
    .page-dashboard-project .stat-blueprint .bp-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #EEF2FF;
        color: #4F46E5;
        position: relative;
    }
    .page-dashboard-project .stat-blueprint .bp-icon svg { width: 20px; height: 20px; stroke-width: 2; }
    .page-dashboard-project .stat-blueprint .bp-icon::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 12px;
        border: 1px dashed rgba(99, 102, 241, 0.2);
    }
    .page-dashboard-project .stat-blueprint .bp-tag {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #818CF8;
        font-weight: 700;
        font-family: 'Courier New', monospace;
    }
    .page-dashboard-project .stat-blueprint .bp-value {
        font-size: 2.2rem;
        font-weight: 800;
        color: #312E81;
        line-height: 1;
        margin-bottom: 2px;
        font-family: 'Inter', sans-serif;
        letter-spacing: -1px;
    }
    .page-dashboard-project .stat-blueprint .bp-label {
        font-size: 0.82rem;
        color: #64748B;
        font-weight: 500;
        margin-bottom: 12px;
    }
    .page-dashboard-project .stat-blueprint .bp-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px dashed rgba(99, 102, 241, 0.1);
    }
    .page-dashboard-project .stat-blueprint .bp-change {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem;
        font-weight: 600;
    }
    .page-dashboard-project .stat-blueprint .bp-change svg { width: 14px; height: 14px; }
    .page-dashboard-project .stat-blueprint .bp-change.up { color: #16A34A; }
    .page-dashboard-project .stat-blueprint .bp-change.down { color: #DC2626; }
    .page-dashboard-project .stat-blueprint .bp-dots {
        display: flex;
        gap: 4px;
    }
    .page-dashboard-project .stat-blueprint .bp-dots .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #C7D2FE;
    }
    .page-dashboard-project .stat-blueprint .bp-dots .dot.active {
        background: #6366F1;
        box-shadow: 0 0 6px rgba(99, 102, 241, 0.4);
    }
    /* Project Charts Row */
    .page-dashboard-project .project-chart-card {
        border: none;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.05);
        border-bottom: 3px solid #6366F1;
    }
    .page-dashboard-project .project-chart-card .card-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(79, 70, 229, 0.02));
        border-bottom: 1px dashed rgba(99, 102, 241, 0.1);
        position: relative;
    }
    .page-dashboard-project .project-chart-card .card-header::after {
        content: 'LIVE';
        position: absolute;
        top: 14px;
        right: 14px;
        font-size: 0.6rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #6366F1;
        background: #EEF2FF;
        padding: 2px 8px;
        border-radius: 4px;
        font-family: monospace;
    }
    .dark-mode.page-dashboard-project .stat-blueprint {
        background: var(--card-bg, #1E293B);
        border-color: rgba(99, 102, 241, 0.2);
    }
    .dark-mode.page-dashboard-project .stat-blueprint:hover { border-color: rgba(99, 102, 241, 0.35); }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-value { color: #C7D2FE; }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-label { color: #94A3B8; }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-header { border-bottom-color: rgba(99, 102, 241, 0.12); }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-footer { border-top-color: rgba(99, 102, 241, 0.12); }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-icon { background: rgba(99, 102, 241, 0.15); }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-dots .dot { background: rgba(99, 102, 241, 0.2); }
    .dark-mode.page-dashboard-project .stat-blueprint .bp-dots .dot.active { background: #818CF8; }
    .dark-mode.page-dashboard-project .project-chart-card {
        box-shadow: 0 2px 12px rgba(0,0,0,0.2);
        border-bottom-color: #4F46E5;
    }
    .dark-mode.page-dashboard-project .project-chart-card .card-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(79, 70, 229, 0.04));
        border-bottom-color: rgba(99, 102, 241, 0.15);
    }
    .dark-mode.page-dashboard-project .project-chart-card .card-header::after {
        background: rgba(99, 102, 241, 0.15);
        color: #818CF8;
    }


/* ===========================================
   Page: ext-dragdrop
   ========================================== */
.page-ext-dragdrop .sortable-list {
            list-style: none;
            padding: 0;
            margin: 0;
            min-height: 200px;
        }
        .page-ext-dragdrop .sortable-list li {
            padding: 12px 16px;
            margin-bottom: 8px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 0.5rem;
            cursor: grab;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
            user-select: none;
        }
        .page-ext-dragdrop .sortable-list li:active {
            cursor: grabbing;
        }
        .page-ext-dragdrop .sortable-list li:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .page-ext-dragdrop .sortable-list li .drag-handle {
            color: #9ca3af;
            flex-shrink: 0;
        }
        .page-ext-dragdrop .sortable-list li .item-content {
            flex: 1;
        }
        .page-ext-dragdrop .sortable-ghost {
            opacity: 0.4;
            background: #e0e7ff !important;
            border-color: #6366F1 !important;
        }
        .page-ext-dragdrop .sortable-chosen {
            box-shadow: 0 4px 16px rgba(99,102,241,0.3);
        }
        .page-ext-dragdrop .sortable-drag {
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }
        .page-ext-dragdrop .list-header {
            padding: 12px 16px;
            background: #f1f5f9;
            border-radius: 0.5rem;
            margin-bottom: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .page-ext-dragdrop .list-header .badge {
            font-size: 0.75rem;
        }
        .page-ext-dragdrop .card-sortable .card {
            cursor: grab;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }
        .page-ext-dragdrop .card-sortable .card:active {
            cursor: grabbing;
        }
        .page-ext-dragdrop .card-sortable .sortable-ghost {
            opacity: 0.4;
        }


/* ===========================================
   Page: ext-lightbox
   ========================================== */
.page-ext-lightbox .gallery-item {
            cursor: pointer;
            border-radius: 0.75rem;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            aspect-ratio: 4/3;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.25rem;
            font-weight: 600;
        }
        .page-ext-lightbox .gallery-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.15);
        }
        .page-ext-lightbox .lightbox-img {
            width: 100%;
            aspect-ratio: 16/10;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.5rem;
            font-weight: 600;
        }


/* ===========================================
   Page: ext-rating
   ========================================== */
.page-ext-rating .star-rating {
            display: inline-flex;
            flex-direction: row-reverse;
            gap: 4px;
            font-size: 0;
        }
        .page-ext-rating .star-rating .star {
            font-size: 1.5rem;
            color: #d1d5db;
            cursor: pointer;
            transition: color 0.2s ease;
            line-height: 1;
        }
        .page-ext-rating .star-rating .star:hover, .page-ext-rating .star-rating .star:hover ~ .star, .page-ext-rating .star-rating .star.active, .page-ext-rating .star-rating .star.active ~ .star {
            color: #F59E0B;
        }
        .page-ext-rating .star-rating.readonly .star {
            cursor: default;
        }
        .page-ext-rating .star-rating.star-primary .star.active, .page-ext-rating .star-rating.star-primary .star.active ~ .star {
            color: #6366F1;
        }
        .page-ext-rating .star-rating.star-success .star.active, .page-ext-rating .star-rating.star-success .star.active ~ .star {
            color: #22C55E;
        }
        .page-ext-rating .star-rating.star-danger .star.active, .page-ext-rating .star-rating.star-danger .star.active ~ .star {
            color: #EF4444;
        }
        .page-ext-rating .star-rating.star-info .star.active, .page-ext-rating .star-rating.star-info .star.active ~ .star {
            color: #06B6D4;
        }
        .page-ext-rating .star-rating-sm .star {
            font-size: 1rem !important;
        }
        .page-ext-rating .star-rating-lg .star {
            font-size: 2rem !important;
        }
        .page-ext-rating .star-display {
            display: inline-flex;
            gap: 2px;
            font-size: 1.25rem;
            color: #F59E0B;
            line-height: 1;
        }
        .page-ext-rating .star-display .star-empty {
            color: #d1d5db;
        }
        .page-ext-rating .star-display .star-half {
            position: relative;
            color: #d1d5db;
        }
        .page-ext-rating .star-display .star-half::before {
            content: '\2605';
            position: absolute;
            left: 0;
            width: 50%;
            overflow: hidden;
            color: #F59E0B;
        }
        .page-ext-rating .rating-bars .rating-bar-item {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px;
        }
        .page-ext-rating .rating-bars .rating-bar-item .bar-label {
            min-width: 20px;
            font-size: 0.875rem;
            font-weight: 500;
        }
        .page-ext-rating .rating-bars .rating-bar-item .bar-count {
            min-width: 30px;
            text-align: right;
            font-size: 0.8125rem;
            color: #6b7280;
        }


/* ===========================================
   Page: ext-treeview
   ========================================== */
.page-ext-treeview ul.treeview {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }
        .page-ext-treeview ul.treeview ul {
            list-style: none;
            padding-left: 24px;
            margin: 0;
            display: none;
        }
        .page-ext-treeview ul.treeview ul.open {
            display: block;
        }
        .page-ext-treeview ul.treeview li.treeview-item {
            margin: 2px 0;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 0.375rem;
            color: #374151;
            text-decoration: none;
            font-size: 0.9375rem;
            transition: background-color 0.2s ease, color 0.2s ease;
            cursor: pointer;
            user-select: none;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle:hover {
            background-color: #f1f5f9;
            color: #6366F1;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .toggle-icon {
            font-size: 0.75rem;
            transition: transform 0.2s ease;
            width: 16px;
            text-align: center;
            color: #9ca3af;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .toggle-icon.rotated {
            transform: rotate(90deg);
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .node-icon {
            font-size: 1rem;
            width: 20px;
            text-align: center;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .folder-icon {
            color: #F59E0B;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon {
            color: #6b7280;
            width: 20px;
            height: auto;
            margin: 0;
            border-radius: 0;
            display: inline;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon.file-doc {
            color: #3B82F6;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon.file-img {
            color: #22C55E;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon.file-video {
            color: #EF4444;
        }
        .page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon.file-music {
            color: #8B5CF6;
        }
        .page-ext-treeview ul.treeview li.treeview-item.has-children > a.treeview-toggle {
            font-weight: 500;
        }


/* ===========================================
   Dark Mode: ext pages
   ========================================== */
.dark-mode.page-ext-dragdrop .sortable-list li,
[data-theme="dark"].page-ext-dragdrop .sortable-list li {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}
.dark-mode.page-ext-dragdrop .sortable-list li:hover,
[data-theme="dark"].page-ext-dragdrop .sortable-list li:hover {
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}
.dark-mode.page-ext-dragdrop .sortable-list li .drag-handle,
[data-theme="dark"].page-ext-dragdrop .sortable-list li .drag-handle {
    color: #64748b;
}
.dark-mode.page-ext-dragdrop .list-header,
[data-theme="dark"].page-ext-dragdrop .list-header {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
}
.dark-mode.page-ext-dragdrop .sortable-ghost,
[data-theme="dark"].page-ext-dragdrop .sortable-ghost {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}
.dark-mode.page-ext-lightbox .gallery-item,
[data-theme="dark"].page-ext-lightbox .gallery-item {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.dark-mode.page-ext-rating .star-rating .star,
[data-theme="dark"].page-ext-rating .star-rating .star {
    color: #475569;
}
.dark-mode.page-ext-rating .star-display .star-empty,
[data-theme="dark"].page-ext-rating .star-display .star-empty {
    color: #475569;
}
.dark-mode.page-ext-rating .star-display .star-half,
[data-theme="dark"].page-ext-rating .star-display .star-half {
    color: #475569;
}
.dark-mode.page-ext-rating .rating-bars .rating-bar-item .bar-count,
[data-theme="dark"].page-ext-rating .rating-bars .rating-bar-item .bar-count {
    color: #94a3b8;
}
.dark-mode.page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle,
[data-theme="dark"].page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle {
    color: #cbd5e1;
}
.dark-mode.page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle:hover,
[data-theme="dark"].page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}
.dark-mode.page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .toggle-icon,
[data-theme="dark"].page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .toggle-icon {
    color: #64748b;
}
.dark-mode.page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon,
[data-theme="dark"].page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .file-icon {
    color: #94a3b8;
}
.dark-mode.page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .folder-icon,
[data-theme="dark"].page-ext-treeview ul.treeview li.treeview-item > a.treeview-toggle .folder-icon {
    color: #FBBF24;
}
.dark-mode.page-ext-treeview ul.treeview,
[data-theme="dark"].page-ext-treeview ul.treeview {
    background: transparent;
}
.dark-mode.page-ext-treeview ul.treeview ul,
[data-theme="dark"].page-ext-treeview ul.treeview ul {
    border-left: 1px solid #334155;
}
.dark-mode.page-ext-treeview .search-treeview .treeview-item .search-highlight {
    background-color: rgba(251, 191, 36, 0.25);
}
.dark-mode.page-ext-treeview .tree-context-menu {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}
.dark-mode.page-ext-treeview .tree-context-menu .context-menu-item {
    color: #CBD5E1;
}
.dark-mode.page-ext-treeview .tree-context-menu .context-menu-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
}
.dark-mode.page-ext-treeview .tree-context-menu .context-menu-divider {
    border-top-color: #334155;
}


/* ===========================================
   Page: icon-feather
   ========================================== */
.page-icon-feather .icon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 1rem;
        }
        .page-icon-feather .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.25rem 0.75rem;
            border: 1px solid var(--border-color, #e5e7eb);
            border-radius: 0.5rem;
            text-align: center;
            transition: all 0.2s;
            cursor: pointer;
        }
        .page-icon-feather .icon-item:hover {
            background: var(--primary-color, #6366F1);
            color: #fff;
            border-color: var(--primary-color, #6366F1);
        }
        .page-icon-feather .icon-item:hover svg {
            stroke: #fff;
        }
        .page-icon-feather .icon-item i, .page-icon-feather .icon-item svg {
            width: 24px;
            height: 24px;
            margin-bottom: 0.5rem;
        }
        .page-icon-feather .icon-item span {
            font-size: 0.75rem;
            color: inherit;
            word-break: break-all;
        }


/* ===========================================
   Page: icon-fontawesome
   ========================================== */
.page-icon-fontawesome .icon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 1rem;
        }
        .page-icon-fontawesome .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.25rem 0.75rem;
            border: 1px solid var(--border-color, #e5e7eb);
            border-radius: 0.5rem;
            text-align: center;
            transition: all 0.2s;
            cursor: pointer;
        }
        .page-icon-fontawesome .icon-item:hover {
            background: var(--primary-color, #6366F1);
            color: #fff;
            border-color: var(--primary-color, #6366F1);
        }
        .page-icon-fontawesome .icon-item:hover i {
            color: #fff;
        }
        .page-icon-fontawesome .icon-item i {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        .page-icon-fontawesome .icon-item span {
            font-size: 0.75rem;
            color: inherit;
            word-break: break-all;
        }


/* ===========================================
   Page: index
   ========================================== */
/* Analytics Dashboard Unique Styles */
    .page-index .analytics-card {
        border: none;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
    }
    .page-index .analytics-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #6366F1, #8B5CF6);
    }
    .page-index .analytics-card .card-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }
    .page-index .analytics-metric {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f1ff 100%);
        border-radius: 14px;
        padding: 20px;
        text-align: center;
        border: 1px solid rgba(99, 102, 241, 0.1);
        transition: all 0.3s ease;
    }
    .page-index .analytics-metric:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    }
    .page-index .analytics-metric .metric-value {
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(135deg, #6366F1, #8B5CF6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .page-index .analytics-metric .metric-label {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #64748b;
        margin-top: 4px;
    }
    .page-index .analytics-metric .metric-change {
        font-size: 0.75rem;
        margin-top: 8px;
    }
    .page-index .analytics-list-item {
        display: flex;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .page-index .analytics-list-item:last-child {
        border-bottom: none;
    }
    .page-index .analytics-list-item .item-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 14px;
        flex-shrink: 0;
    }
    .page-index .analytics-rank {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: linear-gradient(135deg, #6366F1, #8B5CF6);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.75rem;
        margin-right: 12px;
        flex-shrink: 0;
    }
    .page-index .analytics-progress-bar {
        height: 8px;
        border-radius: 4px;
        background: #f1f5f9;
        overflow: hidden;
        margin-top: 8px;
    }
    .page-index .analytics-progress-bar .bar {
        height: 100%;
        border-radius: 4px;
        background: linear-gradient(90deg, #6366F1, #8B5CF6);
    }
    .page-index .analytics-heatmap-cell {
        width: 100%;
        padding: 8px;
        border-radius: 8px;
        text-align: center;
        font-weight: 600;
        font-size: 0.8rem;
        transition: all 0.2s ease;
    }
    .page-index .analytics-heatmap-cell:hover {
        transform: scale(1.05);
    }
    .page-index .conversion-step {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        border-radius: 10px;
        margin-bottom: 8px;
        position: relative;
    }
    .page-index .conversion-step .step-num {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #6366F1, #8B5CF6);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.8rem;
        margin-right: 14px;
        flex-shrink: 0;
    }
    .dark-mode.page-index .analytics-metric {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(39, 50, 70, 0.9));
        border-color: rgba(99, 102, 241, 0.2);
    }
    .dark-mode.page-index .analytics-metric .metric-label {
        color: #94A3B8;
    }
    .dark-mode.page-index .analytics-metric .metric-change {
        color: #94A3B8;
    }
    .dark-mode.page-index .analytics-progress-bar {
        background: rgba(15, 23, 42, 0.6);
    }
    .dark-mode.page-index .analytics-card .card-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
        border-bottom-color: rgba(99, 102, 241, 0.15);
    }
    .dark-mode.page-index .analytics-list-item {
        border-bottom-color: rgba(255,255,255,0.06);
    }
/* Analytics Stat Cards - Floating Glass Orb Design */
.page-index .stat-orb {
    border: none;
    border-radius: 20px;
    background: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 16px rgba(99, 102, 241, 0.06);
}
.page-index .stat-orb:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}
.page-index .stat-orb::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    left: auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.12;
    transition: all 0.4s ease;
    background: none;
    background-size: auto;
    animation: none;
}
.page-index .stat-orb:hover::before {
    transform: scale(1.2);
    opacity: 0.18;
    left: auto;
}
.page-index .stat-orb.orb-indigo::before { background: radial-gradient(circle, #6366F1, #4F46E5); }
.page-index .stat-orb.orb-emerald::before { background: radial-gradient(circle, #10B981, #059669); }
.page-index .stat-orb.orb-amber::before { background: radial-gradient(circle, #F59E0B, #D97706); }
.page-index .stat-orb.orb-cyan::before { background: radial-gradient(circle, #06B6D4, #0891B2); }
.page-index .stat-orb .orb-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.page-index .stat-orb .orb-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.page-index .stat-orb.orb-indigo .orb-icon { background: linear-gradient(135deg, #6366F1, #8B5CF6); color: white; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35); }
.page-index .stat-orb.orb-emerald .orb-icon { background: linear-gradient(135deg, #10B981, #059669); color: white; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }
.page-index .stat-orb.orb-amber .orb-icon { background: linear-gradient(135deg, #F59E0B, #D97706); color: white; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35); }
.page-index .stat-orb.orb-cyan .orb-icon { background: linear-gradient(135deg, #06B6D4, #0891B2); color: white; box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35); }
.page-index .stat-orb .orb-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}
.page-index .stat-orb.orb-indigo .orb-value { background: linear-gradient(135deg, #6366F1, #8B5CF6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-index .stat-orb.orb-emerald .orb-value { background: linear-gradient(135deg, #10B981, #059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-index .stat-orb.orb-amber .orb-value { background: linear-gradient(135deg, #F59E0B, #D97706); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-index .stat-orb.orb-cyan .orb-value { background: linear-gradient(135deg, #06B6D4, #0891B2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-index .stat-orb .orb-label {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.page-index .stat-orb .orb-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.page-index .stat-orb .orb-change.up { color: #059669; background: #ecfdf5; }
.page-index .stat-orb .orb-change.down { color: #DC2626; background: #fef2f2; }
.page-index .stat-orb .orb-change svg { width: 14px; height: 14px; }
.page-index .stat-orb .orb-sparkline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    opacity: 0.08;
}
/* Analytics Charts Row */
.page-index .analytics-chart-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(99, 102, 241, 0.06);
    position: relative;
}
.page-index .analytics-chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6, #A78BFA, #6366F1);
    background-size: 200% 100%;
    animation: analyticsGradientShift 3s ease infinite;
}
@keyframes analyticsGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.page-index .analytics-chart-card .card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}
.page-index .analytics-category-dot {
    width: 10px;
    height: 10px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
}
.dark-mode.page-index .stat-orb {
    background: var(--card-bg, #1E293B);
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.dark-mode.page-index .stat-orb:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.dark-mode.page-index .stat-orb .orb-label { color: #94A3B8; }
.dark-mode.page-index .stat-orb .orb-change.up { background: rgba(16, 185, 129, 0.15); }
.dark-mode.page-index .stat-orb .orb-change.down { background: rgba(220, 38, 38, 0.15); }
.dark-mode.page-index .analytics-chart-card {
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.dark-mode.page-index .analytics-chart-card .card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
    border-bottom-color: rgba(99, 102, 241, 0.12);
}


/* ===========================================
   Page: ui-breadcrumb
   ========================================== */
.page-ui-breadcrumb .breadcrumb-arrow .breadcrumb-item + .breadcrumb-item::before {
            content: "\2192" !important;
        }
        .page-ui-breadcrumb .breadcrumb-gt .breadcrumb-item + .breadcrumb-item::before {
            content: ">" !important;
        }
        .page-ui-breadcrumb .breadcrumb-slash .breadcrumb-item + .breadcrumb-item::before {
            content: "/" !important;
        }
