/* ===================================================================================
   AOG CAMPUS MANAGEMENT SYSTEM - MODERN VIBRANT THEME & DESIGN SYSTEM
   =================================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    /* Vibrant Multi-Stop Gradients */
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
    --success-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --warning-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --danger-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --info-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --purple-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    --pink-gradient: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
    --orange-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    --emerald-gradient: linear-gradient(135deg, #0d9488 0%, #10b981 100%);

    /* Solid Color Accents */
    --color-primary: #4f46e5;
    --color-primary-light: #eef2ff;
    --color-secondary: #64748b;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #06b6d4;
    
    /* Neutral & Background Tones */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Modern Shadows */
    --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.1), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-primary: 0 10px 25px -5px rgba(79, 70, 229, 0.35);
}

/* -----------------------------------------------------------------------------------
   1. GLOBAL BASE & TYPOGRAPHY
   ----------------------------------------------------------------------------------- */
body {
    font-family: var(--font-primary) !important;
    background-color: var(--bg-body) !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .card-title, .logo-title {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* -----------------------------------------------------------------------------------
   2. HERO TOP BANNER & NAVBAR OVERHAUL
   ----------------------------------------------------------------------------------- */
.iq-banner {
    background: transparent !important;
}

.iq-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03) !important;
}

.iq-navbar-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 25%, #312e81 60%, #4338ca 100%) !important;
    box-shadow: 0 12px 36px -4px rgba(30, 27, 75, 0.4) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    height: auto !important;
    min-height: 230px !important;
    padding-bottom: 45px !important;
}

/* Glowing Ambient Mesh Orbs */
.iq-navbar-header::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.iq-navbar-header::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 8s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(30px, -20px); }
}

.iq-navbar-header h1 {
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.bannerUserName {
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.iq-header-img {
    display: none !important;
}

/* Hero Date & Status Badges (High Contrast & Vibrant) */
.hero-date-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
    border-radius: 50rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.hero-date-badge i {
    color: #fbbf24 !important;
    font-size: 0.85rem !important;
}

.hero-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(5, 150, 105, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    color: #a7f3d0 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
    border-radius: 50rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hero-status-pulse {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #34d399;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Banner Quick Action Chip Buttons */
.banner-quick-chip {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 50rem !important;
    padding: 7px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.banner-quick-chip:hover {
    background: #ffffff !important;
    color: #1e1b4b !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

/* -----------------------------------------------------------------------------------
   3. SIDEBAR OVERHAUL & VIBRANT CATEGORY ICON BADGES
   ----------------------------------------------------------------------------------- */
.sidebar {
    background: #ffffff !important;
    box-shadow: 0 10px 30px 0 rgba(15, 23, 42, 0.06) !important;
    border-right: 1px solid #e2e8f0 !important;
}

.sidebar-header {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.sidebar-body,
#sidebar-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: calc(100vh - 85px) !important;
    padding: 12px 14px !important;
}

.sidebar-body::-webkit-scrollbar,
#sidebar-body::-webkit-scrollbar {
    width: 6px !important;
}

.sidebar-body::-webkit-scrollbar-thumb,
#sidebar-body::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
}

/* Category Colorful Icon Boxes */
.menu-icon-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 13px !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.25s ease !important;
}

.sidebar .nav-link:hover .menu-icon-box {
    transform: scale(1.12) rotate(3deg);
}

/* Gradient Themes for Sidebar Category Icons */
.bg-gradient-primary  { background: linear-gradient(135deg, #4f46e5, #3b82f6) !important; }
.bg-gradient-blue     { background: linear-gradient(135deg, #2563eb, #06b6d4) !important; }
.bg-gradient-emerald  { background: linear-gradient(135deg, #059669, #10b981) !important; }
.bg-gradient-cyan     { background: linear-gradient(135deg, #0891b2, #06b6d4) !important; }
.bg-gradient-orange   { background: linear-gradient(135deg, #ea580c, #f97316) !important; }
.bg-gradient-purple   { background: linear-gradient(135deg, #7c3aed, #a855f7) !important; }
.bg-gradient-violet   { background: linear-gradient(135deg, #6366f1, #8b5cf6) !important; }
.bg-gradient-rose     { background: linear-gradient(135deg, #e11d48, #f43f5e) !important; }
.bg-gradient-pink     { background: linear-gradient(135deg, #db2777, #ec4899) !important; }
.bg-gradient-amber    { background: linear-gradient(135deg, #d97706, #f59e0b) !important; }
.bg-gradient-indigo   { background: linear-gradient(135deg, #3730a3, #4f46e5) !important; }
.bg-gradient-red      { background: linear-gradient(135deg, #dc2626, #ef4444) !important; }
.bg-gradient-dark     { background: linear-gradient(135deg, #1e293b, #0f172a) !important; }

.sidebar .nav-link {
    display: flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    padding: 9px 12px !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-bottom: 4px !important;
}

.sidebar .nav-link:hover {
    background: rgba(79, 70, 229, 0.07) !important;
    color: #4f46e5 !important;
    transform: translateX(4px);
}

.sidebar .nav-link.active,
.sidebar .nav-item.active > .nav-link {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px -2px rgba(79, 70, 229, 0.4) !important;
}

.sidebar .nav-link.active .menu-icon-box,
.sidebar .nav-item.active > .nav-link .menu-icon-box {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
}

.sidebar .right-icon {
    margin-left: auto !important;
    transition: transform 0.2s ease !important;
}

.sidebar .nav-link[aria-expanded="true"] .right-icon {
    transform: rotate(90deg);
}

/* Sidebar Section Headers */
.static-item .default-icon {
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    display: block;
    margin: 12px 0 6px 6px;
}

/* Sub Navigation */
.sub-nav {
    border-left: 2px solid #e2e8f0 !important;
    margin-left: 26px !important;
    padding-left: 10px !important;
    margin-top: 3px !important;
    margin-bottom: 6px !important;
}

.sub-nav .nav-link {
    font-size: 0.83rem !important;
    padding: 6px 12px !important;
    color: #64748b !important;
}

.sub-nav .nav-link:hover {
    background: rgba(79, 70, 229, 0.06) !important;
    color: #4f46e5 !important;
}

.sub-menu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    display: inline-block;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.sub-nav .nav-link:hover .sub-menu-dot {
    background-color: #4f46e5;
    transform: scale(1.4);
}

/* ===================================================================================
   COLLAPSED SIDEBAR MINI STATE (PIXEL PERFECT)
   =================================================================================== */
.sidebar-mini .sidebar,
.sidebar.sidebar-mini {
    width: 76px !important;
    min-width: 76px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sidebar-mini .sidebar .sidebar-body,
.sidebar.sidebar-mini .sidebar-body {
    padding: 10px 8px !important;
}

/* Hide text labels, section titles, and right arrows in mini mode */
.sidebar-mini .sidebar .item-name,
.sidebar.sidebar-mini .item-name,
.sidebar-mini .sidebar .static-item,
.sidebar.sidebar-mini .static-item,
.sidebar-mini .sidebar .right-icon,
.sidebar.sidebar-mini .right-icon,
.sidebar-mini .sidebar .sub-nav,
.sidebar.sidebar-mini .sub-nav,
.sidebar-mini .sidebar .navbar-brand .logo-title,
.sidebar.sidebar-mini .navbar-brand .logo-title {
    display: none !important;
}

/* Center menu links and icons nicely */
.sidebar-mini .sidebar .nav-link,
.sidebar.sidebar-mini .nav-link {
    justify-content: center !important;
    padding: 8px 0 !important;
    margin-bottom: 6px !important;
    border-radius: 12px !important;
}

.sidebar-mini .sidebar .menu-icon-box,
.sidebar.sidebar-mini .menu-icon-box {
    margin-right: 0 !important;
    margin: 0 auto !important;
    width: 36px !important;
    height: 36px !important;
}

.sidebar-mini .sidebar .hr-horizontal,
.sidebar.sidebar-mini .hr-horizontal {
    width: 50% !important;
    margin: 8px auto !important;
}

/* Position floating toggle button cleanly in collapsed mode */
.sidebar-mini .sidebar-header,
.sidebar.sidebar-mini .sidebar-header {
    justify-content: center !important;
    padding: 16px 8px !important;
}

.sidebar-mini .sidebar-header .navbar-brand,
.sidebar.sidebar-mini .sidebar-header .navbar-brand {
    display: none !important;
}

.sidebar-mini .sidebar-header .sidebar-toggle,
.sidebar.sidebar-mini .sidebar-header .sidebar-toggle {
    margin: 0 auto !important;
}

/* -----------------------------------------------------------------------------------
   4. MODERN CARDS & GLASSMORPHISM
   ----------------------------------------------------------------------------------- */
.card {
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    background-color: var(--bg-card) !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover {
    box-shadow: var(--shadow-lg) !important;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 18px 24px !important;
}

.card-body {
    padding: 24px !important;
}

/* -----------------------------------------------------------------------------------
   5. BUTTONS & INTERACTIVE CONTROLS
   ----------------------------------------------------------------------------------- */
.btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 8px 18px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    letter-spacing: -0.01em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: var(--shadow-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--primary-gradient-hover) !important;
    box-shadow: 0 14px 30px -5px rgba(79, 70, 229, 0.5) !important;
}

.btn-success {
    background: var(--success-gradient) !important;
    border: none !important;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.35) !important;
}

.btn-danger {
    background: var(--danger-gradient) !important;
    border: none !important;
    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.35) !important;
}

/* -----------------------------------------------------------------------------------
   6. MODERN FORMS & INPUTS
   ----------------------------------------------------------------------------------- */
.form-control, .form-select {
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 9px 14px !important;
    font-size: 0.9rem !important;
    color: var(--text-primary) !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.form-control:focus, .form-select:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
    outline: none !important;
}

.form-label {
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
}

/* -----------------------------------------------------------------------------------
   7. MODERN TABLES & DATATABLES
   ----------------------------------------------------------------------------------- */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    color: var(--text-primary) !important;
}

.table thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.05em !important;
    padding: 12px 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
}

.table tbody tr {
    transition: background-color 0.15s ease !important;
}

.table tbody tr:hover {
    background-color: #f1f5f9 !important;
}

.table tbody td {
    padding: 13px 16px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.88rem !important;
}

/* -----------------------------------------------------------------------------------
   8. MODERN VIBRANT BADGES
   ----------------------------------------------------------------------------------- */
.badge {
    border-radius: 50rem !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge.bg-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}

.badge.bg-danger {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

.badge.bg-warning {
    background-color: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}

.badge.bg-primary {
    background-color: #eef2ff !important;
    color: #3730a3 !important;
    border: 1px solid #c7d2fe !important;
}

.badge.bg-info {
    background-color: #ecfeff !important;
    color: #155e75 !important;
    border: 1px solid #a5f3fc !important;
}

/* -----------------------------------------------------------------------------------
   10. NAVBAR ACTION BUTTONS & USER AVATAR
   ----------------------------------------------------------------------------------- */
.nav-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-action-btn:hover {
    transform: translateY(-2px);
}

.nav-action-btn.btn-bell {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.22)) !important;
    color: #6366f1 !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.nav-action-btn.btn-bell:hover {
    background: #6366f1 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35) !important;
}

.nav-action-btn.btn-mail {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(16, 185, 129, 0.22)) !important;
    color: #0891b2 !important;
    border-color: rgba(6, 182, 212, 0.25) !important;
}

.nav-action-btn.btn-mail:hover {
    background: #0891b2 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(8, 145, 178, 0.35) !important;
}

.nav-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid #ffffff;
}

/* User Avatar Styling */
.nav-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #06b6d4 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    position: relative;
    border: 2px solid #ffffff;
    transition: all 0.22s ease;
}

.nav-avatar-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}

.nav-status-indicator {
    width: 11px;
    height: 11px;
    background-color: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: absolute;
    bottom: -2px;
    right: -2px;
}

.navbar-dropdown-card {
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.15) !important;
    overflow: hidden;
}

.notification-item-card {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-item-card:hover {
    background-color: #f8fafc;
}

.notif-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* -----------------------------------------------------------------------------------
   11. SINGLE CLEAN FLOATING SIDEBAR TOGGLE BUTTON (IN SIDEBAR HEADER)
   ----------------------------------------------------------------------------------- */
/* Hide any top navbar toggle duplicates */
.navbar-inner .sidebar-toggle {
    display: none !important;
}

/* Floating circular toggle button inside sidebar header */
aside .sidebar-toggle,
.sidebar-header .sidebar-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #4f46e5 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
    margin-left: auto !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    z-index: 100 !important;
    flex-shrink: 0 !important;
}

aside .sidebar-toggle:hover,
.sidebar-header .sidebar-toggle:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4) !important;
    transform: scale(1.12);
}

aside .sidebar-toggle i, 
aside .sidebar-toggle svg,
.sidebar-header .sidebar-toggle i,
.sidebar-header .sidebar-toggle svg {
    color: inherit !important;
    fill: currentColor !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

aside .sidebar-toggle:hover svg,
.sidebar-header .sidebar-toggle:hover svg {
    transform: scale(1.15);
}

/* Sub-nav chevron indicators */
.sidebar .right-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(241, 245, 249, 0.8) !important;
    color: #64748b !important;
    font-size: 10px !important;
    transition: all 0.25s ease !important;
    margin-left: auto !important;
}

.sidebar .nav-link:hover .right-icon {
    background: rgba(79, 70, 229, 0.15) !important;
    color: #4f46e5 !important;
}

.sidebar .nav-link[aria-expanded="true"] .right-icon {
    transform: rotate(90deg) !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
}


