.student-card {
    border: 1.5px solid #f1f3f4;
    background: white;
    transition: all 0.2s ease;
}

.student-card:hover {
    border-color: #2196f3;
    background: #f8fdff;
    transform: translateY(-1px);
}

.student-card.selected {
    background: #d8d8d8;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
}

.student-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.student-check {
    display: none;
    color: #4caf50;
}

.student-card.selected .student-check {
    display: block;
}

.bg-light-hover {
    background: #f8f9fa;
    transition: all 0.2s ease;
    border-radius: 10px;
}

.bg-light-hover:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

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

.activity-item:hover {
    background-color: #f8f9fa;
}

.x-small {
    font-size: 0.75rem;
}

.btn-close-sm {
    transform: scale(0.8);
    opacity: 0.5;
    transition: all 0.15s ease;
    width: 16px;
    height: 16px;
}

.btn-close-sm:hover {
    opacity: 1;
    transform: scale(0.9);
    background-color: rgba(0,0,0,0.1);
}

.activity-list::-webkit-scrollbar {
    width: 4px;
}

.activity-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.activity-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.activity-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Form Controls */
.form-select, .form-control {
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-select:focus, .form-control:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.sticky-top {
    position: sticky;
    z-index: 1;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.siswa-item {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#siswaContainer {
    max-height: 200px; /* Atur sesuai kebutuhan */
    overflow-y: auto; /* ✅ PERBAIKI */
    scroll-behavior: smooth;
}   

/* Optional: Custom scrollbar */
#siswaContainer::-webkit-scrollbar {
    width: 6px;
}

#siswaContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#siswaContainer::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#siswaContainer::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}