/* DCIV Dashboard Styles */

/* Card styling */
.dashboard-card {
    @apply bg-white dark:bg-gray-800 rounded-lg shadow p-4;
}

/* Spinner */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

.dark .spinner {
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: #60a5fa;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth transitions (scoped to avoid flicker on dynamic content) */
.dashboard-card, button, a, input, select, label {
    transition-property: color, background-color, border-color;
    transition-duration: 150ms;
}

/* Period button styles */
.period-btn {
    cursor: pointer;
}

.period-btn:focus {
    outline: none;
}

/* Scrollbar styling for expiration grid */
#expiration-grid::-webkit-scrollbar {
    width: 6px;
}

#expiration-grid::-webkit-scrollbar-track {
    background: transparent;
}

#expiration-grid::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}

.dark #expiration-grid::-webkit-scrollbar-thumb {
    background-color: rgba(75, 85, 99, 0.7);
}

