body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}

.login-page {
    background: linear-gradient(120deg, #2980b9, #8e44ad);
    height: 100vh;
    display: flex;
    align-items: center;
}

.login-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    color: #333;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-primary:hover {
    background-color: #3498db;
    border-color: #3498db;
}

.table-responsive {
    margin: 20px 0;
}

.bajo-rendimiento {
    background-color: #ffebee !important;
    color: #c62828;
}

.navbar {
    background-color: #2980b9;
    padding: 1rem;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover {
    color: white !important;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.125);
}

.form-control:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 0.2rem rgba(41,128,185,0.25);
}

.alert {
    margin-top: 20px;
}

.sistema-no-disponible {
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin: 50px auto;
    max-width: 600px;
}

.sistema-no-disponible h1 {
    color: #e74c3c;
    margin-bottom: 20px;
}

/* Estilos para tablas en todos los módulos */
.table {
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
}

.table thead th {
    background-color: #2980b9;
    color: white;
    border-bottom: none;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(41, 128, 185, 0.05);
}

.table td, .table th {
    vertical-align: middle;
    padding: 12px;
}

/* Estilos para botones de acción */
.btn-action {
    margin: 0 2px;
    padding: 5px 10px;
    font-size: 0.875rem;
}

.btn-info {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

/* Estilos para modales */
.modal-header {
    background-color: #2980b9;
    color: white;
    border-bottom: none;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

/* Estilos específicos para notas */
.nota-input {
    width: 80px;
    text-align: center;
    margin: 0 auto;
}

.nota-input.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

/* Estilos para reportes */
.reporte-header {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.stats-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stats-card strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

.stats-card p {
    color: #2980b9;
    font-size: 1.25rem;
    margin: 0;
}

/* Badges y etiquetas */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

.badge-info {
    background-color: #3498db;
}

/* Estilos para formularios */
.form-group label {
    color: #2c3e50;
    font-weight: 500;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
}

/* Estilos para cards */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
}

.card-body {
    padding: 20px;
}

/* Estilos para mensajes de alerta */
.alert {
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        border: none;
    }
    
    .nota-input {
        width: 60px;
    }
    
    .btn-action {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}
