/* Custom CSS accents and animations for amaDashboard */

:root {
    --color-primary: #3b82f6;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
}

body {
    background-color: #0b0f19;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Glassmorphism / Sleek Dark Card */
.dashboard-card {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Pulse indicator animation */
@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.pulse-green {
    animation: statusPulse 2s infinite;
}

/* Card Header Accent Bar */
.card-header-bar {
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.card-header-bar-amber {
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ec4899);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

/* Custom Scrollbar for ticket table */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #111827;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Refresh spin animation */
.spin-refresh {
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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