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

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

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

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

/* Smooth transitions */
a, button {
    transition: all 0.2s ease;
}

/* Book card hover effect */
.book-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom focus styles */
input:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 162, 99, 0.5);
}

/* Animation for loading books */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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