body {
    background: linear-gradient(135deg, #dbe0f4 0%, #fdfcfd 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.attendance-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
}

.header-section {
    background: linear-gradient(45deg, #002f25 0%, #03e57f 100%);
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.attendance-table {
    margin: 0;
}

.table th {
    background: linear-gradient(135deg, #f003fc5e 0%, #f74ec7 100%);
    color: rgb(246, 210, 28);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.student-name {
    font-weight: 600;
    color: #2c3e50;
}

.student-id {
    color: #7f8c8d;
    font-size: 0.9em;
}

.attendance-checkbox {
    transform: scale(1.3);
    margin: 0;
}

.attendance-checkbox:checked {
    accent-color: #28a745;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.date-picker {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 10px;
    transition: all 0.3s ease;
}

.date-picker:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.25);
}

.stats-card {
    background: linear-gradient(135deg, #f4c481 0%, #fcb69f 100%);
    border-radius: 15px;
    padding: 5px;
    text-align: center;
    color: #138b2d;
    margin-bottom: 20px;
}

.loading-spinner {
    display: none;
}

.alert-custom {
    border-radius: 15px;
    border: none;
    padding: 15px 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}