

:root {
    /* ===== PRIMARY COLORS ===== */
    --primary: #002754;
    --primary-dark: #001a3a;
    --primary-light: #003a7a;

    /* ===== ACCENT COLORS ===== */
    --accent: #009CA6;
    --accent-hover: #007a82;
    --accent-light: rgba(0, 156, 166, 0.12);

    /* ===== SIDEBAR ===== */
    --sidebar-bg: #002754;
    --sidebar-text: rgba(255, 255, 255, 0.70);
    --sidebar-active: #ffffff;
    --sidebar-active-bg: rgba(0, 156, 166, 0.18);
    --sidebar-hover: rgba(0, 156, 166, 0.10);
    --sidebar-border: rgba(255, 255, 255, 0.06);
    --sidebar-icon: rgba(255, 255, 255, 0.35);
    --sidebar-icon-active: #ffffff;
    --sidebar-width: 260px;
    --sidebar-collapsed: 70px;

    /* ===== TOPBAR ===== */
    --topbar-bg: #ffffff;
    --topbar-text: #002754;
    --topbar-border: #e5e7eb;
    --topbar-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --topbar-height: 64px;

    /* ===== BODY ===== */
    --bg-body: #f0f2f5;
    --card-bg: #ffffff;
    --text-primary: #002754;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --hover-bg: #f3f4f6;

    /* ===== TRANSITIONS ===== */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* ===== SIDEBAR ===== */
    --sidebar-bg: #0a1628;
    --sidebar-text: rgba(255, 255, 255, 0.55);
    --sidebar-active: #ffffff;
    --sidebar-active-bg: rgba(0, 156, 166, 0.12);
    --sidebar-hover: rgba(0, 156, 166, 0.06);
    --sidebar-border: rgba(255, 255, 255, 0.04);
    --sidebar-icon: rgba(255, 255, 255, 0.25);
    --sidebar-icon-active: #ffffff;

    /* ===== TOPBAR ===== */
    --topbar-bg: #0f172a;
    --topbar-text: #f3f4f6;
    --topbar-border: #1e293b;
    --topbar-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);

    /* ===== BODY ===== */
    --bg-body: #0a0e1a;
    --card-bg: #1a2332;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #1e293b;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
    --hover-bg: #1f2937;
}

/* ======================================== */
/* BASE                                     */
/* ======================================== */
.page-content {
    padding: 20px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal-content {
    background: var(--card-bg, #ffffff) !important;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    transition: var(--transition);
    min-height: 100vh;
}

/* ======================================== */
/* 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: 4px 0 30px rgba(0, 0, 0, 0.15);
}

/* ===== SIDEBAR SCROLLBAR ===== */
.sidebar::-webkit-scrollbar {
    width: 3px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 156, 166, 0.25);
    border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 156, 166, 0.40);
}
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 156, 166, 0.25) transparent;
}

/* ===== SIDEBAR BRAND ===== */
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--sidebar-border);
    min-height: 70px;
    gap: 12px;
    flex-shrink: 0;
}

.sidebar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 156, 166, 0.25);
}

.sidebar-brand .brand-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--sidebar-active);
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.sidebar-brand .brand-text span {
    color: var(--accent);
}

/* ===== SIDEBAR MENU ===== */
.sidebar-menu {
    flex: 1;
    padding: 16px 14px;
    overflow-y: auto;
}

.sidebar-menu .menu-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sidebar-text);
    opacity: 0.50;
    padding: 12px 12px 8px;
    white-space: nowrap;
}

.sidebar-menu .nav-item {
    list-style: none;
    margin-bottom: 2px;
}

.sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    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);
    transition: var(--transition);
}

.sidebar-menu .nav-link:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-active);
}

.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);
    border-left: 3px solid var(--accent);
    border-radius: 10px 0 0 10px;
}

.sidebar-menu .nav-link.active i {
    color: var(--sidebar-icon-active);
}

.sidebar-menu .nav-link .badge {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.sidebar-menu .nav-link .arrow {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.30;
    transition: var(--transition);
}

.sidebar-menu .nav-link:hover .arrow {
    opacity: 0.60;
}

/* ===== SIDEBAR FOOTER ===== */
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--sidebar-border);
    text-align: center;
    flex-shrink: 0;
}

.sidebar-footer .sidebar-copyright {
    font-size: 12px;
    color: var(--sidebar-text);
    opacity: 0.40;
    letter-spacing: 0.5px;
}

/* ======================================== */
/* MAIN WRAPPER                             */
/* ======================================== */

.main-wrapper {
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
}

/* ======================================== */
/* TOPBAR                                   */
/* ======================================== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    padding: 0 24px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--topbar-shadow);
}

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

.topbar-left .toggle-btn {
    background: transparent;
    border: none;
    color: var(--topbar-text);
    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(--accent-light);
    color: var(--accent);
}

.topbar-left .page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--topbar-text);
    margin: 0;
}

.topbar-left .page-title small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 8px;
}

/* Right */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* View As */
.topbar-right .view-as {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 4px 14px;
    background: var(--bg-body);
    border-radius: 20px;
    border: 1px solid var(--topbar-border);
}

.topbar-right .view-as i {
    font-size: 14px;
    color: var(--accent);
}

.topbar-right .view-as span {
    font-weight: 600;
    color: var(--topbar-text);
}

/* Theme Toggle */
.topbar-right .theme-toggle {
    background: transparent;
    border: none;
    color: var(--topbar-text);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.60;
}

.topbar-right .theme-toggle:hover {
    background: var(--accent-light);
    opacity: 1;
    color: var(--accent);
}

/* ===== DROPDOWN ===== */
.topbar-right .dropdown-toggle::after {
    display: none !important;
}

/* ======================================== */
/* SIDEBAR COLLAPSED (Desktop)             */
/* ======================================== */

.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 .sidebar-copyright {
    display: none;
}

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

.sidebar-collapsed .sidebar-menu .nav-link i {
    font-size: 20px;
    margin: 0;
}

.sidebar-collapsed .sidebar-menu .nav-link .badge,
.sidebar-collapsed .sidebar-menu .nav-link .arrow {
    display: none;
}

.sidebar-collapsed .sidebar-footer {
    padding: 16px 12px;
}

.sidebar-brand img {
    width: 180px;
}

.topbar-left .toggle-btn {
    display: none !important;
}

/* ===== HOVER EXPAND (Desktop) ===== */
@media (min-width: 1025px) {

    .sidebar-collapsed .sidebar:hover {
        width: var(--sidebar-width);
    }
    .sidebar-collapsed .sidebar:hover .sidebar-brand {
        padding: 20px 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 .sidebar-copyright {
        display: inline-block;
    }
    .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,
    .sidebar-collapsed .sidebar:hover .sidebar-menu .nav-link .arrow {
        display: inline-block;
    }
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 1024px) {
    .topbar-left .toggle-btn {
    display: block !important;
}

    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
        box-shadow: none;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.30);
    }
    .main-wrapper {
        margin-left: 0;
    }
    .sidebar-collapsed .main-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 0 16px;
    }
    .topbar-left .page-title {
        font-size: 16px;
    }
    .topbar-left .page-title small {
        font-size: 12px;
        display: none;
    }
}

@media (max-width: 576px) {
    .topbar-left .page-title {
        font-size: 14px;
    }
    .topbar {
        padding: 0 12px;
        height: 56px;
    }
    .topbar-right .view-as {
        display: none;
    }
    .sidebar {
        width: 280px;
    }
}



/* ======================================== */
/* DROPDOWN — SIDEBAR BG STYLE             */
/* ======================================== */

/* Profile Dropdown */
.profile-dropdown {
    min-width: 220px;
    padding: 8px 0;
    border-radius: 12px;
    border: 1px solid var(--sidebar-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    background: var(--sidebar-bg) !important;  /* ✅ Sidebar jesa background */
}

/* Notification Dropdown */
.notification-dropdown {
    min-width: 340px;
    padding: 0 !important;
    border-radius: 12px;
    border: 1px solid var(--sidebar-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    background: var(--sidebar-bg) !important;  /* ✅ Sidebar jesa background */
}

/* ===== DROPDOWN TEXT COLORS ===== */
.profile-dropdown .dropdown-item,
.profile-dropdown .dropdown-header,
.profile-dropdown .profile-info strong,
.profile-dropdown .profile-info span,
.notification-dropdown .dropdown-header,
.notification-dropdown .notif-text,
.notification-dropdown .notif-time {
    color: var(--sidebar-text) !important;
}

.profile-dropdown .dropdown-item:hover {
    background: var(--sidebar-hover) !important;
    color: var(--sidebar-active) !important;
}

.profile-dropdown .dropdown-divider {
    border-color: var(--sidebar-border) !important;
}

/* ===== PROFILE HEADER IN DROPDOWN ===== */
.profile-dropdown .profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    pointer-events: none;
}

.profile-dropdown .profile-header .profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009CA6, #00b4c0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.profile-dropdown .profile-header .profile-info strong {
    display: block;
    font-size: 14px;
    color: var(--sidebar-text);
}

.profile-dropdown .profile-header .profile-info span {
    font-size: 12px;
    color: var(--sidebar-text);
    opacity: 0.50;
}

/* ===== NOTIFICATION DROPDOWN COLORS ===== */
.notification-dropdown .dropdown-header {
    color: var(--sidebar-text) !important;
}

.notification-dropdown .dropdown-header-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--sidebar-text) !important;
    opacity: 0.60;
}

.notification-dropdown .notification-item {
    border-bottom: 1px solid var(--sidebar-border) !important;
}

.notification-dropdown .notification-item:hover {
    background: var(--sidebar-hover) !important;
}

.notification-dropdown .notification-item .notif-text {
    color: var(--sidebar-text) !important;
}

.notification-dropdown .notification-item .notif-time {
    color: var(--sidebar-text) !important;
    opacity: 0.40;
}

.notification-dropdown .notification-item .notif-icon.blue {
    background: rgba(0, 156, 166, 0.15);
    color: #009CA6;
}
.notification-dropdown .notification-item .notif-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}
.notification-dropdown .notification-item .notif-icon.yellow {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}


/* ======================================== */
/* NOTIFICATIONS                            */
/* ======================================== */

.notification-btn {
    background: transparent;
    border: none;
    color: var(--topbar-text);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.60;
}

.notification-btn:hover {
    background: rgba(0, 156, 166, 0.08);
    opacity: 1;
    color: #009CA6;
}

.notification-btn .notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc2626;
    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(--topbar-bg);
}

/* ===== NOTIFICATION DROPDOWN ===== */
.notification-dropdown {
    min-width: 340px;
    padding: 0 !important;
    border-radius: 12px;
    border: 1px solid var(--topbar-border);
    box-shadow: var(--topbar-shadow);
    background: var(--topbar-bg);
}

.notification-dropdown .dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    color: var(--topbar-text);
}

.notification-dropdown .dropdown-header-badge {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-body);
    padding: 2px 10px;
    border-radius: 12px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid var(--topbar-border);
}

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

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

.notification-item .notif-icon.blue {
    background: rgba(13, 110, 253, 0.12);
    color: #2563eb;
}
.notification-item .notif-icon.green {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
.notification-item .notif-icon.yellow {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}
.notification-item .notif-icon.red {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

[data-theme="dark"] .notification-item .notif-icon.blue {
    background: rgba(59, 130, 246, 0.20);
    color: #60a5fa;
}
[data-theme="dark"] .notification-item .notif-icon.green {
    background: rgba(52, 211, 153, 0.20);
    color: #34d399;
}
[data-theme="dark"] .notification-item .notif-icon.yellow {
    background: rgba(251, 191, 36, 0.20);
    color: #fbbf24;
}

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

.notification-item .notif-content .notif-text {
    font-size: 13px;
    color: var(--topbar-text);
    margin: 0;
}

.notification-item .notif-content .notif-text strong {
    font-weight: 600;
}

.notification-item .notif-content .notif-time {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.notification-item .notif-unread {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #009CA6;
    flex-shrink: 0;
    margin-top: 6px;
}

/* PROFILE DROPDOWN                         */

.dropdown-toggle-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--topbar-text);
    padding: 4px 8px 4px 4px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dropdown-toggle-btn:hover {
    background: var(--bg-body);
    border-color: var(--topbar-border);
}

.dropdown-toggle-btn .avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009CA6, #00b4c0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.dropdown-toggle-btn .user-name-top {
    font-size: 14px;
    font-weight: 500;
    color: var(--topbar-text);
}

.dropdown-toggle-btn .chevron {
    font-size: 12px;
    color: var(--text-muted);
}

/* Profile Dropdown Menu */
.profile-dropdown {
    min-width: 220px;
    padding: 8px 0;
    border-radius: 12px;
    border: 1px solid var(--topbar-border);
    box-shadow: var(--topbar-shadow);
    background: var(--topbar-bg);
}

.profile-dropdown .profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    pointer-events: none;
}

.profile-dropdown .profile-header .profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009CA6, #00b4c0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.profile-dropdown .profile-header .profile-info {
    flex: 1;
    min-width: 0;
}

.profile-dropdown .profile-header .profile-info strong {
    display: block;
    font-size: 14px;
    color: var(--topbar-text);
}

.profile-dropdown .profile-header .profile-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--topbar-text);
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
}

.profile-dropdown .dropdown-item:hover {
    background: var(--bg-body);
}

.profile-dropdown .dropdown-item i {
    width: 18px;
    color: var(--text-muted);
}

.profile-dropdown .dropdown-divider {
    border-color: var(--topbar-border);
    margin: 4px 0;
}




/* PROFESSIONAL TOAST STYLING                */


/* ===== TOASTR OVERRIDES ===== */
#toast-container > div {
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    opacity: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#toast-container > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16) !important;
}

/* ===== TOAST ICONS ===== */
#toast-container > .toast-success .toast-icon,
#toast-container > .toast-error .toast-icon,
#toast-container > .toast-warning .toast-icon,
#toast-container > .toast-info .toast-icon {
    font-size: 20px !important;
    margin-right: 12px !important;
}

/* ===== TOAST TITLE ===== */
#toast-container .toast-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    margin-bottom: 2px !important;
}

/* ===== TOAST MESSAGE ===== */
#toast-container .toast-message {
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    opacity: 0.9 !important;
}


/* SUCCESS TOAST                             */

#toast-container > .toast-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-left: 5px solid #10b981 !important;
}

#toast-container > .toast-success .toast-title {
    color: #065f46 !important;
}

#toast-container > .toast-success .toast-close-button {
    color: #065f46 !important;
}

[data-theme="dark"] #toast-container > .toast-success {
    background: #0a2a1a !important;
    color: #6ee7b7 !important;
    border-left-color: #34d399 !important;
}

[data-theme="dark"] #toast-container > .toast-success .toast-title {
    color: #6ee7b7 !important;
}

[data-theme="dark"] #toast-container > .toast-success .toast-close-button {
    color: #6ee7b7 !important;
}


/* ERROR TOAST                               */

#toast-container > .toast-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 5px solid #ef4444 !important;
}

#toast-container > .toast-error .toast-title {
    color: #991b1b !important;
}

#toast-container > .toast-error .toast-close-button {
    color: #991b1b !important;
}

[data-theme="dark"] #toast-container > .toast-error {
    background: #2a0a0a !important;
    color: #fca5a5 !important;
    border-left-color: #f87171 !important;
}

[data-theme="dark"] #toast-container > .toast-error .toast-title {
    color: #fca5a5 !important;
}

[data-theme="dark"] #toast-container > .toast-error .toast-close-button {
    color: #fca5a5 !important;
}


/* WARNING TOAST                             */

#toast-container > .toast-warning {
    background: #fffbeb !important;
    color: #78350f !important;
    border-left: 5px solid #f59e0b !important;
}

#toast-container > .toast-warning .toast-title {
    color: #78350f !important;
}

#toast-container > .toast-warning .toast-close-button {
    color: #78350f !important;
}

[data-theme="dark"] #toast-container > .toast-warning {
    background: #2a1a0a !important;
    color: #fcd34d !important;
    border-left-color: #fbbf24 !important;
}

[data-theme="dark"] #toast-container > .toast-warning .toast-title {
    color: #fcd34d !important;
}

[data-theme="dark"] #toast-container > .toast-warning .toast-close-button {
    color: #fcd34d !important;
}


/* INFO TOAST                                */

#toast-container > .toast-info {
    background: #eff6ff !important;
    color: #1e3a8a !important;
    border-left: 5px solid #3b82f6 !important;
}

#toast-container > .toast-info .toast-title {
    color: #1e3a8a !important;
}

#toast-container > .toast-info .toast-close-button {
    color: #1e3a8a !important;
}

[data-theme="dark"] #toast-container > .toast-info {
    background: #0a1a3a !important;
    color: #93c5fd !important;
    border-left-color: #60a5fa !important;
}

[data-theme="dark"] #toast-container > .toast-info .toast-title {
    color: #93c5fd !important;
}

[data-theme="dark"] #toast-container > .toast-info .toast-close-button {
    color: #93c5fd !important;
}


/* TOAST POSITION - BOTTOM RIGHT             */

#toast-container.toast-bottom-right {
    bottom: 24px !important;
    right: 24px !important;
}

#toast-container.toast-bottom-right > div {
    margin-top: 10px !important;
}


/* TOAST PROGRESS BAR                        */

#toast-container .toast-progress {
    height: 3px !important;
    opacity: 0.6 !important;
}

#toast-container .toast-success .toast-progress {
    background: #10b981 !important;
}

#toast-container .toast-error .toast-progress {
    background: #ef4444 !important;
}

#toast-container .toast-warning .toast-progress {
    background: #f59e0b !important;
}

#toast-container .toast-info .toast-progress {
    background: #3b82f6 !important;
}


/* CLOSE BUTTON                              */

#toast-container .toast-close-button {
    font-size: 20px !important;
    font-weight: 400 !important;
    opacity: 0.6 !important;
    transition: opacity 0.2s ease !important;
}

#toast-container .toast-close-button:hover {
    opacity: 1 !important;
}


/* RESPONSIVE                                */

@media (max-width: 480px) {
    #toast-container > div {
        padding: 14px 16px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 360px !important;
    }
    
    #toast-container.toast-bottom-right {
        bottom: 16px !important;
        right: 16px !important;
        left: 16px !important;
    }
    
    #toast-container.toast-bottom-right > div {
        width: 100% !important;
        max-width: 100% !important;
    }
}






/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .notification-dropdown {
        min-width: 300px;
    }
    .profile-dropdown {
        min-width: 200px;
    }
    .dropdown-toggle-btn .user-name-top {
        display: none;
    }
}

@media (max-width: 576px) {
    .notification-dropdown {
        min-width: 280px;
        right: -40px !important;
    }
    .notification-item .notif-content .notif-text {
        font-size: 12px;
    }
}