/* Attendance List specific styles */

/* Filter section styling */
.filter-section {
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-bs-theme="light"] .filter-section {
    background: linear-gradient(145deg, white, var(--light-gradient-end));
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .filter-section {
    background: linear-gradient(145deg, var(--dark-gradient-start), var(--dark-gradient-end));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Filter controls */
.filter-controls .form-select,
.filter-controls .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Filter buttons */
.filter-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-buttons .btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 105, 217, 0.15);
}

.filter-buttons .btn-outline-secondary {
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .filter-buttons .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

[data-bs-theme="dark"] .filter-buttons .btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Status badges */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

[data-bs-theme="dark"] .badge.bg-success {
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

[data-bs-theme="dark"] .badge.bg-secondary {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Dropdown styling for attendance status */
.attendance-status-dropdown {
    position: relative;
}

.attendance-status-dropdown .dropdown-menu {
    border-radius: var(--radius);
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .attendance-status-dropdown .dropdown-menu {
    background-color: var(--dark-gradient-start);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .attendance-status-dropdown .dropdown-item {
    color: white;
}

[data-bs-theme="dark"] .attendance-status-dropdown .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Export button */
.export-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    background: linear-gradient(to right, #28a745, #34ce57);
    border-color: #28a745;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.15);
}

.export-btn:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .export-btn {
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}
