/* ===== GLOBAL STYLES & OVERRIDES ===== */
:root {
    --accent: #3b82f6;
    --red: #ef4444;
    --green: #10b981;
}

/* Custom Scrollbar - Premium Dark */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(51, 65, 85, 0.5);
    /* slate-700 with opacity */
    border-radius: 10px;
    border: 2px solid transparent;
    /* padding effect */
    background-clip: padding-box;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.8);
    /* slate-600 */
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Base resets handled by Tailwind, keeping minimal additions */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Toast Animation */
#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Modal Animation classes handled via JS but setting defaults */
.modal-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-active>div {
    transform: scale(1) !important;
}

/* Nav Section Styling */
.nav-section {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #475569;
    /* slate-500 */
    opacity: 0.8;
}

.nav-section:first-child {
    padding-top: 0.5rem;
}

/* ===== ANIMATIONS & EFFECTS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 155, 210, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 155, 210, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 155, 210, 0);
    }
}

/* Animation Utilities */
.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.animate-slide-up {
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Staggered Delay Utilities */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

/* Enhanced Glassmorphism */
.glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Table Responsive Wrapper Settings */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}