/* ==========================================
   NOTIFICATION SYSTEM STYLES
   ========================================== */

/* Override announcement bar z-index */
.announcement-bar {
    z-index: 998 !important;
}

/* Notification Wrapper */
.notification_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1rem;
    z-index: 9999;
}

/* Desktop Large - Position adjustment */
@media screen and (min-width: 1025px) {
    .notification_wrapper {
        margin-left: 2rem;
        margin-right: 1.5rem;
    }
    
    .notification_dropdown {
        right: -0.5rem !important;
        transform: translateX(10px) translateY(-10px) !important;
    }
    
    .notification_dropdown.show {
        transform: translateX(0) translateY(0) !important;
    }
}

/* Desktop Extra Large - More spacing */
@media screen and (min-width: 1200px) {
    .notification_wrapper {
        margin-left: 2.5rem;
        margin-right: 2rem;
    }
    
    .notification_dropdown {
        right: -1rem !important;
        width: 400px !important;
    }
}

/* Desktop Ultra Wide - Maximum spacing */
@media screen and (min-width: 1440px) {
    .notification_wrapper {
        margin-left: 3rem;
        margin-right: 2.5rem;
    }
    
    .notification_dropdown {
        right: -1.5rem !important;
        width: 420px !important;
    }
}

/* Notification Button */
.button_notification {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 3rem;
    height: 3rem;
    background: hsla(0, 0%, 100%, .05) !important;
    border: 1px solid hsla(0, 0%, 100%, .1) !important;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 0;
    color: #fff !important;
}

.button_notification:hover {
    background: #222 !important;
    border: 1.5px solid #333 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.button_notification svg {
    color: #fff !important;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    display: block;
}

.button_notification:hover svg {
    transform: scale(1.1);
    color: #ffcd2f !important;
}

/* Notification Badge */
.notification_badge {
    position: absolute;
    top: -9px;
    right: -9px;
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
    color: white;
    font-size: .7rem;
    font-weight: bold;
    border-radius: 999px;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Notification Dropdown */
.notification_dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%);
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 85, 104, 0.3);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

/* Removed problematic backdrop overlay that blocks clicks */

/* Desktop specific dropdown positioning */
@media screen and (min-width: 769px) {
    .notification_dropdown {
        right: -50px;
    }
}

.notification_dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Notification Dropdown Header */
.notification_dropdown_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(74, 85, 104, 0.2);
    background: rgba(45, 55, 72, 0.3);
    border-radius: 1rem 1rem 0 0;
}

.notification_dropdown_header h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.notification_count {
    background: linear-gradient(135deg, #68d391 0%, #48bb78 100%);
    color: #1a2332;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

/* Notification Dropdown Body */
.notification_dropdown_body {
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0.5rem;
    position: relative;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
}

.notification_dropdown_body::-webkit-scrollbar {
    width: 6px;
}

.notification_dropdown_body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.notification_dropdown_body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.notification_dropdown_body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Notification Item */
.notification_item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin: 0.5rem;
    background: rgba(45, 55, 72, 0.3);
    border-radius: 0.8rem;
    border: 1px solid rgba(74, 85, 104, 0.2);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
    pointer-events: auto;
    z-index: 1;
}

.notification_item:hover {
    background: rgba(45, 55, 72, 0.5);
    transform: translateX(5px);
    border-color: rgba(74, 85, 104, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Notification Icon - hidden (no SVG per notification) */
.notification_icon {
    display: none !important;
}

.notification_success {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.notification_info {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.notification_warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.notification_danger {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

.notification_icon svg {
    color: #ffffff;
}

/* Notification Content */
.notification_content {
    flex: 1;
    min-width: 0;
}

.notification_text {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.notification_text a {
    color: #c0eb8c;
    text-decoration: none;
}

.notification_text a:hover {
    text-decoration: underline;
}

.notification_time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Notification Dismiss Button */
.notification_dismiss {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.notification_dismiss:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff4444;
}

/* Empty Notification State */
.notification_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.notification_empty_icon {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.notification_empty_icon svg {
    color: rgba(255, 255, 255, 0.5);
}

.notification_empty p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    margin: 0;
}

/* Tablet Responsive (768px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .notification_wrapper {
        margin-left: 0.5rem;
    }
    
    .button_notification {
        width: 4.5rem;
        height: 4.5rem;
        padding: 0.5rem;
    }
    
    .notification_dropdown {
        position: absolute !important;
        top: 110% !important;
        right: 0 !important;
        width: 420px !important;
        max-width: 85vw !important;
        background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%) !important;
        border-radius: 1rem !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 5px 20px rgba(0, 0, 0, 0.3) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(74, 85, 104, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        pointer-events: auto !important;
    }
    
    .notification_dropdown.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .notification_dropdown_header {
        padding: 1.5rem !important;
        border-bottom: 1px solid rgba(74, 85, 104, 0.3) !important;
    }
    
    .notification_dropdown_body {
        max-height: 60vh !important;
        padding: 1rem !important;
        overflow-y: auto !important;
    }
}

/* Mobile Responsive (max-width: 768px) */
@media screen and (max-width: 768px) {
    .notification_wrapper {
        margin-left: 0.5rem;
    }
    
    .button_notification {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 4rem;
        height: 4rem;
        padding: 0;
    }
    
    .button_notification svg {
        margin: 0;
        flex-shrink: 0;
    }
    
    .notification_dropdown {
        position: absolute !important;
        top: 110% !important;
        right: 0 !important;
        left: auto !important;
        width: 90vw !important;
        max-width: 90vw !important;
        max-height: 70vh !important;
        border-radius: 1rem !important;
        transform: translateX(20px) scale(0.95) !important;
        background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(74, 85, 104, 0.3) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 5px 15px rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(8px) !important;
        pointer-events: auto !important;
    }
    
    .notification_dropdown.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) scale(1) !important;
    }
    
    .notification_dropdown_header {
        padding: 1.25rem !important;
        position: relative !important;
        background: rgba(45, 55, 72, 0.4) !important;
        border-bottom: 1px solid rgba(74, 85, 104, 0.3) !important;
        border-radius: 1rem 1rem 0 0 !important;
    }
    
    .notification_dropdown_header h3 {
        font-size: 1.1rem !important;
        margin: 0 !important;
        color: #ffffff !important;
    }
    
    .notification_dropdown_body {
        max-height: 50vh !important;
        padding: 1rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-radius: 0 0 1rem 1rem !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }
    
    .notification_item {
        margin: 0.75rem 0 !important;
        padding: 1rem !important;
        background: rgba(45, 55, 72, 0.3) !important;
        border: 1px solid rgba(74, 85, 104, 0.2) !important;
        border-radius: 0.75rem !important;
    }
    
    .notification_item h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .notification_item p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    .notification_message {
        font-size: 0.8rem !important;
        font-weight: 500 !important;
    }
    
    .notification_meta {
        font-size: 0.8rem !important;
    }
    
    .notification_type {
        display: none !important;
    }
}

/* Desktop specific - hide mobile wallet when notification is shown on desktop */
@media screen and (min-width: 769px) {
    .nav_top #nav_mobile_wallet {
        display: none;
    }
    
    .nav_top #nav_wallet {
        display: block;
    }
    
    .nav_container_wrapper_middle {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .notification_wrapper {
        margin-left: 1rem;
    }
}

/* Ensure proper layout on mobile */
@media screen and (max-width: 768px) {
    .nav_container_wrapper_middle {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .notification_wrapper {
        margin-left: 0.5rem;
    }
} 

/* ==========================================
   ADVANCED NOTIFICATION FEATURES
   ========================================== */

/* Read/Unread States */
.notification_item.unread {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #2d3748 100%) !important;
    border-left: 4px solid #68d391 !important;
    box-shadow: 0 4px 12px rgba(104, 211, 145, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative;
}

.notification_item.unread::before {
    content: '';
    position: absolute;
    top: 0.75rem;
    right: 2.2rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #68d391, #48bb78);
    border-radius: 50%;
    animation: notificationPulse 2s infinite;
}

.notification_item.read {
    background: rgba(45, 55, 72, 0.6) !important;
    border-left: 4px solid rgba(74, 85, 104, 0.4) !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.notification_item.read .notification_content {
    opacity: 0.7;
}

.notification_item.new {
    animation: notificationSlideIn 0.5s ease-out;
    border-left: 4px solid #fbbf24 !important;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3) !important;
}

/* Close Button (X) - Repositioned to avoid status indicator */
.notification_close {
    position: absolute;
    top: 0.5rem;
    right: 0.3rem;
    width: 1.8rem;
    height: 1.8rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 10001;
    pointer-events: auto !important;
}

/* Show close button on hover or touch */
.notification_item:hover .notification_close,
.notification_item:focus .notification_close {
    opacity: 1;
    transform: scale(1);
}

.notification_close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1);
}

.notification_close svg {
    width: 1rem;
    height: 1rem;
    color: #ef4444;
}

/* Removed duplicate rule - already defined above */

/* Header Actions */
.notification_dropdown_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.notification_header_actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    z-index: 10;
}

.notification_action_button {
    padding: 0.6rem 1rem;
    background: rgba(104, 211, 145, 0.2);
    border: 1px solid rgba(104, 211, 145, 0.4);
    border-radius: 0.6rem;
    color: #68d391;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: auto !important;
    z-index: 10000;
    position: relative;
    box-shadow: 0 2px 4px rgba(104, 211, 145, 0.1);
}

.notification_action_button:hover {
    background: rgba(104, 211, 145, 0.3);
    border-color: rgba(104, 211, 145, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(104, 211, 145, 0.2);
    color: #ffffff;
}

.notification_clear_all_button {
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.4);
    color: #f87171;
    box-shadow: 0 2px 4px rgba(248, 113, 113, 0.1);
}

.notification_clear_all_button:hover {
    background: rgba(248, 113, 113, 0.3);
    border-color: rgba(248, 113, 113, 0.6);
    box-shadow: 0 4px 8px rgba(248, 113, 113, 0.2);
    color: #ffffff;
}

/* Swipe Feedback */
.notification_item.swiping {
    transform: translateX(-20px) scale(0.98);
    opacity: 0.7;
    transition: none;
}

.notification_item.swipe_delete {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border-left-color: #dc2626 !important;
}

/* Empty State */
.notification_empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.notification_empty_icon {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.notification_empty_icon svg {
    color: rgba(255, 255, 255, 0.4);
}

.notification_empty h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.notification_empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* Enhanced Notification Content */
.notification_content {
    position: relative;
    padding-right: 2.2rem;
    transition: all 0.3s ease;
}

.notification_title {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.notification_message {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.notification_meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.5rem;
    font-weight: 400;
}

.notification_time {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
}

.notification_type {
    display: none !important;
}

/* Hover Effects */
.notification_item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.notification_item:active {
    transform: translateY(0) scale(0.98);
}

/* Loading State */
.notification_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.notification_loading_spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid #68d391;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Badge */
.notification_badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    animation: notificationPulse 2s infinite;
}

/* Scroll Improvements */
.notification_dropdown_body {
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 211, 145, 0.5) transparent;
}

.notification_dropdown_body::-webkit-scrollbar {
    width: 6px;
}

.notification_dropdown_body::-webkit-scrollbar-track {
    background: rgba(45, 55, 72, 0.3);
    border-radius: 3px;
}

.notification_dropdown_body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-radius: 3px;
}

.notification_dropdown_body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
}

/* Mobile Swipe Indicator */
@media screen and (max-width: 768px) {
    .notification_item {
        position: relative;
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        z-index: 1;
        background: #fff;
    }
    .notification_item .swipe-delete-indicator {
        display: none;
    }
    .notification_item.swiping {
        transform: translateX(-60%);
        z-index: 10;
    }
    .notification_item.swiping .swipe-delete-indicator {
        display: flex !important;
    }
    .swipe-delete-indicator {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 38%;
        min-width: 90px;
        max-width: 180px;
        background: #ff3b30;
        color: #fff;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: 700;
        border-radius: 0 0.8rem 0.8rem 0;
        box-shadow: -2px 0 8px rgba(0,0,0,0.08);
        z-index: 20;
        pointer-events: none;
        transition: background 0.2s;
        gap: 0.5rem;
        text-align: center;
        letter-spacing: 0.02em;
    }
    .swipe-delete-indicator svg {
        width: 2em;
        height: 2em;
        margin-right: 0.3em;
        fill: #fff;
        vertical-align: middle;
    }
}
@media screen and (min-width: 769px) {
    .swipe-delete-indicator {
        display: none !important;
    }
}

/* Accessibility Improvements */
.notification_item:focus {
    outline: 2px solid #68d391;
    outline-offset: 2px;
}

.notification_close:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

/* Dark Theme Optimizations */
@media (prefers-color-scheme: dark) {
    .notification_dropdown {
        background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%) !important;
    }
    
    .notification_item.unread {
        background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .notification_item,
    .notification_close,
    .notification_badge {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   SCROLL FIX - FORCE OVERRIDE
   ========================================== */

/* Force scroll for all screen sizes */
.notification_dropdown_body {
    max-height: 350px !important;
    min-height: 100px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Desktop scroll */
@media screen and (min-width: 1025px) {
    .notification_dropdown_body {
        max-height: 400px !important;
    }
}

/* Tablet scroll */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .notification_dropdown_body {
        max-height: 300px !important;
    }
}

/* Mobile scroll */
@media screen and (max-width: 768px) {
    .notification_dropdown_body {
        max-height: 250px !important;
    }
}

/* ==========================================
   TOAST (Toastify) THEME OVERRIDE
   ========================================== */

.toastify.dw-toast {
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45) !important;
    max-width: 320px !important;
}

.toastify.dw-toast.dw-toast-success,
.toastify.dw-toast.dw-toast-info {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
}

.toastify.dw-toast.dw-toast-error,
.toastify.dw-toast.dw-toast-danger,
.toastify.dw-toast.dw-toast-warning {
    background: linear-gradient(135deg, #b91c1c, #ef4444) !important;
}


/* Force scrollbar visible */
.notification_dropdown_body::-webkit-scrollbar {
    width: 8px !important;
    display: block !important;
}

.notification_dropdown_body::-webkit-scrollbar-track {
    background: rgba(76, 29, 149, 0.35) !important;
    border-radius: 4px !important;
}

.notification_dropdown_body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.notification_dropdown_body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6) !important;
}

/* Firefox scrollbar */
.notification_dropdown_body {
    scrollbar-width: thin !important;
    scrollbar-color: #8b5cf6 rgba(76, 29, 149, 0.35) !important;
}

/* ==========================================
   JQUERY TOAST THEME – GLOBAL
  Apply $.toast(...)
   ========================================== */

/* Position & stacking */
.jq-toast-wrap {
    z-index: 10050 !important;
    top: 80px !important;
    right: 16px !important;
    left: auto !important;
}

/* Main card of toast */
.jq-toast-single {
    border-radius: 2px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6) !important;
    background: linear-gradient(135deg, #312e81, #4c1d95) !important;
    display: flex;
    align-items: center !important;
    gap: 8px !important;
}

/* Icon left (default plugin) */
.jq-toast-single .jq-toast-loader,
.jq-toast-single .close-jq-toast-single {
    border-radius: 999px !important;
}

/* Success */
.jq-toast-single.jq-icon-success {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
}
/* Error */
.jq-toast-single.jq-icon-error {
    background: linear-gradient(135deg, #b91c1c, #ef4444) !important;
}
/* Info */
.jq-toast-single.jq-icon-info {
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
}
/* Warning */
.jq-toast-single.jq-icon-warning {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
}

/* Close button (X) */
.jq-toast-single .close-jq-toast-single {
    color: rgba(255,255,255,0.8) !important;
    margin-left: 8px !important;
    font-size: 14px !important;
}

.jq-toast-single .close-jq-toast-single:hover {
    color: #ffffff !important;
}

/* Loader bar below (if enabled) */
.jq-toast-loader {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
    opacity: 1 !important;
}
