body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    min-height: 100vh;
    padding: 20px;
}

.container, .login-container {
    width: 70%;
    margin: 0 auto;
}

.card {
    width: 100%;
    border: none;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
}

.btn {
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary { background-color: #3498db; border-color: #3498db; }
.btn-primary:hover { background-color: #2980b9; border-color: #2980b9; }
.btn-info { background-color: #17a2b8; border-color: #17a2b8; }
.btn-info:hover { background-color: #138496; border-color: #138496; }
.btn-success { background-color: #28a745; border-color: #28a745; }
.btn-success:hover { background-color: #218838; border-color: #218838; }
.btn-warning { background-color: #ffc107; border-color: #ffc107; color: #212529; }
.btn-warning:hover { background-color: #e0a800; border-color: #e0a800; }

.form-control, .form-select {
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table th {
    background: #34495e;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.table th:hover { background: #2c3e50; }
.table td { vertical-align: middle; }

.btn-attendance {
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 1px 5px;
}

.btn-present { background: #28a745; color: #fff; }
.btn-present:hover, .btn-present.active { background: #218838; transform: scale(1.05); }
.btn-absent { background: #dc3545; color: #fff; }
.btn-absent:hover, .btn-absent.active { background: #c82333; transform: scale(1.05); }

.report-summary { background: #ecf0f1; font-weight: 600; padding: 10px; }
.summary-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-table th, .summary-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.summary-table th { background: #34495e; color: #fff; }
.summary-table td { background: #f8f9fa; }
.summary-table tr:nth-child(even) td { background: #ecf0f1; }

.login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.login-container .card { max-width: 400px; width: 100%; }
.badge { font-size: 1rem; padding: 8px 12px; }
.pagination .btn { min-width: 40px; text-align: center; }
.pagination .btn.active { background: #34495e; color: #fff; }

@media (max-width: 768px) {
    .container, .login-container {
        width: 100%;
        padding: 15px; }
    .btn, .form-control, .form-select { width: 100%; margin-bottom: 10px; }
    .d-flex { flex-direction: column; align-items: stretch; }
    .card,.card-body{
        width: 100%;
    }
    }
}