/* Student Batch Catalog Styles */

.batch-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.batch-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.filter-sidebar-item {
    transition: all 0.2s ease;
}

.filter-sidebar-item:hover {
    background-color: #f1f5f9;
}

.quick-filter-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-filter-btn.active {
    background-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2);
}

/* Skeleton Loading State */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Smooth Transitions for filtering */
#batches-grid {
    transition: opacity 0.3s ease;
}

#batches-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Scrollbar styling for sidebar */
.filter-scroll::-webkit-scrollbar {
    width: 4px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
