/* Custom CSS for KEKO Dashboard */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Pull to refresh hint */
body {
    overscroll-behavior-y: contain;
}

/* Loading animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile touch feedback */
button:active, a:active {
    opacity: 0.7;
}

/* HTMX loading state */
.htmx-request.htmx-swapping {
    opacity: 0;
    transition: opacity 200ms ease-out;
}
