/* ROOT CSS - COMPLETE (NO DUPLICATION) */

/* ===== CSS VARIABLES ===== */
:root {
    --bg-body: #f0f2f5;
    --bg-topbar: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0a0e1a;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --sidebar-width: 275px;
    --sidebar-collapsed: 68px;
    --topbar-height: 64px;
    --primary: #3b82f6;
    --hover-bg: #f3f4f6;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sidebar Variables */
    --sidebar-bg: #f8fafc;
    --sidebar-brand-bg: #f1f5f9;
    --sidebar-text: #334155;
    --sidebar-text-muted: #94a3b8;
    --sidebar-hover: #e2e8f0;
    --sidebar-active-bg: #dbeafe;
    --sidebar-active-text: #2563eb;
    --sidebar-border: #e2e8f0;
    --sidebar-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --sidebar-icon: #64748b;
    --sidebar-icon-active: #2563eb;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
    --bg-body: #0a0e1a;
    --bg-topbar: #0f172a;
    --bg-card: #1a2332;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #1e293b;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    --hover-bg: #1e293b;

    --sidebar-bg: #0f172a;
    --sidebar-brand-bg: #1e293b;
    --sidebar-text: #e2e8f0;
    --sidebar-text-muted: #64748b;
    --sidebar-hover: #1e293b;
    --sidebar-active-bg: #1e3a5f;
    --sidebar-active-text: #60a5fa;
    --sidebar-border: #1e293b;
    --sidebar-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --sidebar-icon: #64748b;
    --sidebar-icon-active: #60a5fa;
}

/* CUSTOM SCROLLBAR — NORMAL CSS */

/* ===== Webkit Browsers ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* ===== Firefox ===== */
* {
    scrollbar-width: thin;
    scrollbar-color: #c1c7cd #f1f1f1;
}

/* ========================================
   DARK THEME — DIRECT COLORS
   ======================================== */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1a2332;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #334155;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

[data-theme="dark"] * {
    scrollbar-color: #334155 #1a2332;
}

/*TABLE WRAPPER SCROLLBAR*/
.table-wrap::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-wrap::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 10px;
}

.table-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.table-wrap {
    scrollbar-width: thin;
    scrollbar-color: #c1c7cd #f1f1f1;
}

[data-theme="dark"] .table-wrap::-webkit-scrollbar-track {
    background: #1a2332;
}

[data-theme="dark"] .table-wrap::-webkit-scrollbar-thumb {
    background: #334155;
}

[data-theme="dark"] .table-wrap::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

[data-theme="dark"] .table-wrap {
    scrollbar-color: #334155 #1a2332;
}

/* SIDEBAR SCROLLBAR */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.sidebar {
    scrollbar-width: thin;
    scrollbar-color: #c1c7cd transparent;
}

[data-theme="dark"] .sidebar::-webkit-scrollbar-thumb {
    background: #334155;
}

[data-theme="dark"] .sidebar::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

[data-theme="dark"] .sidebar {
    scrollbar-color: #334155 transparent;
}

/* ===== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    transition: var(--transition);
    min-height: 100vh;
    padding: 0px !important;
    display: inline !important;
}

/* MAIN WRAPPER + GRADIENT CIRCLES */
.main-wrapper {
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    min-height: calc(100vh - var(--topbar-height));
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    background: var(--bg-body);
}
.main-wrapper::before,
.main-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    transition: all 0.6s ease;
}

.main-wrapper::before {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(59, 130, 246, 0.03) 40%,
        transparent 70%
    );
}

.main-wrapper::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(
        circle,
        rgba(96, 130, 250, 0.08) 0%,
        rgba(13, 110, 253, 0.13) 40%,
        transparent 70%
    );
}

.main-wrapper .gradient-circle-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 40%;
    right: -60px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(96, 165, 250, 0.33) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .main-wrapper::before {
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(59, 130, 246, 0.03) 40%,
        transparent 70%
    );
}
[data-theme="dark"] .main-wrapper::after {
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.08) 0%,
        rgba(139, 92, 246, 0.02) 40%,
        transparent 70%
    );
}
[data-theme="dark"] .main-wrapper .gradient-circle-3 {
    background: radial-gradient(
        circle,
        rgba(6, 182, 212, 0.06) 0%,
        transparent 70%
    );
}

.sidebar-collapsed .main-wrapper {
    margin-left: var(--sidebar-collapsed);
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    transition: var(--transition);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sidebar-shadow);
}

/* Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 1px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}
.sidebar:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}
[data-theme="dark"] .sidebar:hover::-webkit-scrollbar-thumb {
    background: #334155;
}
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
.sidebar:hover {
    scrollbar-color: #cbd5e1 transparent;
}
[data-theme="dark"] .sidebar:hover {
    scrollbar-color: #334155 transparent;
}

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--sidebar-border);
    min-height: 68px;
    gap: 0;
    flex-shrink: 0;
    background: var(--sidebar-brand-bg);
}

.sidebar-brand .brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.sidebar-brand .brand-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--sidebar-text);
    white-space: nowrap;
    padding: 12px 10px 12px 10px;
}
.sidebar-brand .brand-text span {
    color: #3b82f6;
}

/* Menu */
.sidebar-menu {
    flex: 1;
    padding: 12px 12px;
    overflow-y: auto;
    margin-bottom: 0;
}

.sidebar-menu .menu-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--sidebar-text-muted);
    padding: 12px 12px 6px;
    white-space: nowrap;
}

.sidebar-menu .nav-item {
    list-style: none;
    margin-bottom: 1px;
}

.sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 12px;
    white-space: nowrap;
    position: relative;
}

.sidebar-menu .nav-link i {
    font-size: 18px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    color: var(--sidebar-icon);
}

.sidebar-menu .nav-link:hover {
    background: var(--sidebar-hover);
}
.sidebar-menu .nav-link:hover i {
    color: var(--sidebar-icon-active);
}
.sidebar-menu .nav-link.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
}
.sidebar-menu .nav-link.active i {
    color: var(--sidebar-icon-active);
}
.sidebar-menu .nav-link .badge {
    margin-left: auto;
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Red count of requests waiting for a decision (same look as the topbar bell) */
.sidebar-menu .nav-link {
    position: relative;
}
.sidebar-menu .nav-link .nav-count {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.sidebar-collapsed .sidebar-menu .nav-link .nav-count {
    display: inline-flex;
    position: absolute;
    top: 4px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    padding: 0 4px;
}

/* Footer */
.sidebar-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 68px;
}

.sidebar-footer .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.sidebar-footer .user-info {
    flex: 1;
    min-width: 0;
}
.sidebar-footer .user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sidebar-text);
    white-space: nowrap;
}
.sidebar-footer .user-role {
    font-size: 11px;
    color: var(--sidebar-text-muted);
    white-space: nowrap;
}

.sidebar-footer .logout-btn {
    background: transparent;
    border: none;
    color: var(--sidebar-text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-footer .logout-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}
[data-theme="dark"] .sidebar-footer .logout-btn:hover {
    background: #7f1d1d;
    color: #f87171;
}

/* ===== SIDEBAR COLLAPSED ===== */

.sidebar-collapsed .sidebar-menu {
    padding: 12px 10px 12px 10px;
}

.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed);
}
.sidebar-collapsed .sidebar-brand {
    padding: 18px 12px;
    justify-content: center;
}
.sidebar-collapsed .sidebar-brand .brand-text,
.sidebar-collapsed .sidebar-menu .menu-label,
.sidebar-collapsed .sidebar-menu .nav-link span,
.sidebar-collapsed .sidebar-footer .user-info {
    display: none;
}
.sidebar-collapsed .sidebar-footer .avatar {
    display: none !important;
}
.sidebar-collapsed .sidebar-menu .nav-link {
    justify-content: center;
    padding: 5px 19px;
}
.sidebar-collapsed .sidebar-menu .nav-link i {
    font-size: 20px;
    margin: 0;
}
.sidebar-collapsed .sidebar-menu .nav-link .badge {
    display: none;
}
.sidebar-collapsed .sidebar-footer {
    justify-content: center;
    padding: 14px 12px;
}

/* Hover Expand (Desktop) */
@media (min-width: 1025px) {
    .sidebar-collapsed .sidebar:hover {
        width: var(--sidebar-width);
    }
    .sidebar-collapsed .sidebar:hover .sidebar-brand {
        padding: 18px 22px;
        justify-content: flex-start;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-brand .brand-text,
    .sidebar-collapsed .sidebar:hover .sidebar-menu .menu-label,
    .sidebar-collapsed .sidebar:hover .sidebar-menu .nav-link span,
    .sidebar-collapsed .sidebar:hover .sidebar-footer .user-info {
        display: inline-block;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-menu .nav-link .nav-count {
        display: inline-flex;
        position: static;
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-footer .avatar {
        display: flex !important;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-menu .nav-link {
        justify-content: flex-start;
        padding: 10px 14px;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-menu .nav-link i {
        font-size: 18px;
        margin-right: 0;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-menu .nav-link .badge {
        display: inline-block;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-footer {
        justify-content: flex-start;
        padding: 14px 18px;
    }
    .sidebar-collapsed .sidebar:hover .sidebar-footer .user-info {
        display: block;
    }
}

/* ===== OVERLAY ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
}

/*TOPBAR */

.dash-inner {
    padding: 11px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1;
    border-radius: 14px;
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border-color);
    padding: 0 12px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.topbar-left .toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-left .toggle-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}
.topbar-left .page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.sidebar-collapsed .topbar {
    margin-left: var(--sidebar-collapsed);
    width: calc(100% - var(--sidebar-collapsed));
}

.topbar-left p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 0px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Notification Button */
.topbar-right .notification-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-right .notification-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}
.topbar-right .notification-btn .notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-topbar);
    transition: var(--transition);
}

/* Theme Toggle */
.topbar-right .theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
}
.topbar-right .theme-toggle:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

/* Profile Dropdown */
.topbar-right .dropdown-toggle-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}
.topbar-right .dropdown-toggle-btn:hover {
    background: var(--hover-bg);
}
.topbar-right .dropdown-toggle-btn .avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.topbar-right .dropdown-toggle-btn .user-name-top {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
.topbar-right .dropdown-toggle-btn .chevron {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== BOOTSTRAP DROPDOWN OVERRIDES ===== */
.topbar-right .dropdown-toggle::after {
    display: none !important;
}

.topbar-right .dropdown-menu {
    background: var(--bg-topbar);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 8px;
}

.topbar-right .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}
.topbar-right .dropdown-menu .dropdown-item:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}
.topbar-right .dropdown-menu .dropdown-item i {
    width: 18px;
    color: var(--text-muted);
}
.topbar-right .dropdown-menu .dropdown-divider {
    border-color: var(--border-color);
    margin: 6px 0;
}

/* Notification Dropdown - Wider */
.topbar-right .notification-dropdown {
    min-width: 320px;
    padding: 0 !important;
}
.notification-dropdown .dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}
.notification-dropdown .dropdown-header-badge {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--hover-bg);
    padding: 2px 10px;
    border-radius: 12px;
}

/* Empty State */
.notification-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
}
.notification-empty i {
    font-size: 36px;
    color: #22c55e;
    display: block;
    margin-bottom: 10px;
}
.notification-empty p {
    font-size: 14px;
    margin: 0;
}

/* Notification Items */
.notification-dropdown {
    max-height: 420px;
    overflow-y: auto;
}
.notification-dropdown .notification-item {
    display: flex;
    gap: 10px;
    padding: 10px 18px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: var(--transition);
}
.notification-dropdown .notification-item:hover {
    background: var(--hover-bg);
}
.notification-dropdown .notification-item.unread {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
}
.notification-dropdown .notification-item > i {
    font-size: 16px;
    color: #f59e0b;
    margin-top: 2px;
}
.notification-dropdown .notification-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.notification-dropdown .notification-message {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: normal;
}
.notification-dropdown .notification-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.notification-dropdown .notification-footer {
    border-top: 1px solid var(--border-color);
    padding: 8px 18px;
    text-align: center;
}
.notification-dropdown .notification-footer button {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    cursor: pointer;
}

/* ========================================
   CONTENT
   ======================================== */
.content-wrapper {
    flex: 1;
    padding: 24px 0px;
    position: relative;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .topbar {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
        box-shadow: none;
    }
    .sidebar-overlay.active {
        display: block;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    }
    .main-wrapper {
        margin-left: 0 !important;
    }
    .sidebar-collapsed .main-wrapper {
        margin-left: 0 !important;
    }
    .sidebar-collapsed .topbar {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 0 16px;
    }
    .topbar-left .page-title {
        font-size: 16px;
    }
    .topbar-left p {
        font-size: 9px;
    }
    .topbar-right .user-name-top {
        display: none;
    }
    .content-wrapper {
        padding: 20px 0px;
    }
    .sidebar {
        width: 280px;
    }
    .main-wrapper::before {
        width: 300px;
        height: 300px;
        top: -80px;
        right: -60px;
    }
    .main-wrapper::after {
        width: 250px;
        height: 250px;
        bottom: -60px;
        left: -50px;
    }
    .main-wrapper .gradient-circle-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .topbar-left .page-title {
        font-size: 14px;
    }
    .topbar {
        padding: 10px 12px;
        height: auto;
    }

    .sidebar {
        width: 280px;
    }
    .sidebar-brand {
        padding: 14px 16px;
        min-height: 60px;
    }
    .sidebar-brand .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .sidebar-brand .brand-text {
        font-size: 16px;
    }
    .sidebar-menu .nav-link {
        padding: 9px 12px;
        font-size: 13px;
    }
    .sidebar-footer {
        padding: 12px 14px;
        min-height: 60px;
    }
    .main-wrapper::before,
    .main-wrapper::after {
        display: none;
    }
}
