/* ============================================
   DISEÑO FORMAL PROFESIONAL
   ============================================ */

/* Estilos generales */
.mud-appbar {
    background: linear-gradient(90deg, #003d82 0%, #005fa3 100%);
    box-shadow: 0 2px 8px rgba(0, 61, 130, 0.15);
}

.mud-drawer {
    background-color: #ffffff;
    border-right: 1px solid #ecf0f5;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
}

.mud-nav-link {
    border-radius: 4px;
    margin: 4px 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.mud-nav-link:hover {
    background-color: #f0f4f8;
    transform: translateX(2px);
}

.mud-nav-link.active {
    background-color: #e3f2fd;
    color: #003d82;
    border-left: 3px solid #003d82;
}

/* Contenedor principal */
.mud-main-content {
    background-color: #f5f7fa;
    padding: 24px;
}

/* Tarjetas (Cards) */
.mud-paper, .mud-card {
    background: #ffffff;
    border: 1px solid #ecf0f5;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mud-paper:hover, .mud-card:hover {
    box-shadow: 0 4px 12px rgba(0, 61, 130, 0.1);
    transform: translateY(-2px);
}

/* Botones */
.mud-button-root {
    text-transform: capitalize;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.mud-button-filled.mud-primary {
    background-color: #003d82;
}

.mud-button-filled.mud-primary:hover {
    background-color: #005fa3;
    box-shadow: 0 4px 12px rgba(0, 61, 130, 0.3);
}

.mud-button-outlined {
    border: 1.5px solid #d1d8e0;
    color: #003d82;
}

.mud-button-outlined:hover {
    background-color: #f0f4f8;
    border-color: #003d82;
}

/* Campos de entrada (Input Fields) */
.mud-input-adornment {
    color: #7f8c8d;
}

.mud-input-slot {
    padding: 0 12px;
}

.mud-input-outlined:focus-within {
    border-color: #003d82;
}

.mud-input-filled {
    background-color: #f5f7fa;
    border-bottom: 2px solid #d1d8e0;
}

.mud-input-filled:focus-within {
    border-bottom-color: #003d82;
    background-color: #ffffff;
}

/* Diálogos (Dialogs) */
.mud-dialog {
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.mud-dialog-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.mud-dialog-content {
    padding: 24px;
    color: #2c3e50;
}

/* Tablas (Tables) */
.mud-table {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
}

.mud-table-head {
    background: linear-gradient(90deg, #f0f4f8 0%, #f5f7fa 100%);
}

.mud-table-cell-head {
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #d1d8e0;
    letter-spacing: 0.4px;
}

.mud-table-cell {
    border-bottom: 1px solid #ecf0f5;
    padding: 16px;
}

.mud-table tbody tr:hover {
    background-color: #f9fbfc;
}

/* Alertas y Notificaciones */
.mud-alert {
    border-radius: 6px;
    border-left: 4px solid;
}

.mud-alert-success {
    border-left-color: #27ae60;
    background-color: #f0fdf4;
}

.mud-alert-error {
    border-left-color: #c0392b;
    background-color: #fef2f2;
}

.mud-alert-warning {
    border-left-color: #f39c12;
    background-color: #fffbeb;
}

.mud-alert-info {
    border-left-color: #003d82;
    background-color: #f0f4f8;
}

/* Badges */
.mud-chip {
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.mud-chip.mud-chip-default {
    background-color: #ecf0f5;
    color: #2c3e50;
}

/* Texto y tipografía mejorada */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: -0.3px;
}

p {
    color: #2c3e50;
    line-height: 1.6;
}

.mud-typography-body1 {
    color: #2c3e50;
    line-height: 1.6;
}

.mud-typography-body2 {
    color: #7f8c8d;
    line-height: 1.5;
}

.mud-typography-caption {
    color: #8b95a5;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 500;
}

/* Enlace (Links) */
.mud-link {
    color: #003d82;
    font-weight: 500;
    text-decoration: none;
}

.mud-link:hover {
    color: #005fa3;
    text-decoration: underline;
}

/* Divisores */
.mud-divider {
    background: linear-gradient(90deg, transparent, #d1d8e0, transparent);
    height: 1px;
    border: none;
}

/* Avatar mejorado */
.mud-avatar {
    background: linear-gradient(135deg, #003d82 0%, #005fa3 100%);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .mud-main-content {
        padding: 16px;
    }

    .mud-dialog-content {
        padding: 16px;
    }
}

/* Animaciones suaves */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mud-paper {
    animation: slideIn 0.3s ease;
}
