/* Alpine.js cloak */
[x-cloak] {
    display: none !important;
}

/* Status pulse animations */
@keyframes pulse-green {
    0%, 100% {
        background-color: #10b981;
    }
    50% {
        background-color: #34d399;
    }
}

@keyframes pulse-red {
    0%, 100% {
        background-color: #ef4444;
    }
    50% {
        background-color: #f87171;
    }
}

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

.pulse-red {
    animation: pulse-red 2s infinite;
}

/* Chart containers */
.chart-container {
    position: relative;
    height: 300px;
}

.chart-container-small {
    position: relative;
    height: 200px;
}

/* Hot coin animation */
.hot-coin {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Custom hover state for table rows */
.hover\:bg-gray-750:hover {
    background-color: rgba(55, 65, 81, 0.5);
}

/* Scrollbar styling for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #4b5563 #1f2937;
}

/* Loading skeleton animation */
@keyframes skeleton-loading {
    0% {
        background-color: #374151;
    }
    100% {
        background-color: #4b5563;
    }
}

.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

/* Custom focus styles */
input:focus,
select:focus,
button:focus {
    outline: none;
    ring: 2px;
    ring-color: #3b82f6;
    ring-opacity: 0.5;
}

/* Responsive table */
@media (max-width: 768px) {
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
}