:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155;
}

.dark {
    color-scheme: dark;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Redesign Specifics */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

select {
    background-image: none !important;
}

.table-row-hover:hover {
    background-color: rgba(99, 102, 241, 0.03);
}

.dark .table-row-hover:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.badge {
    transition: all 0.2s ease;
}

.badge:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* Table zebra striping if desired, or just border-b as used in JS */
table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.01);
}

.dark table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.01);
}