/* Estilos para el MainLayout y AppBar */

/* AppBar mejorado con gradiente */
.mud-appbar {
    background: linear-gradient(90deg, #174A8C 0%, #0f3663 50%, #0a2540 100%) !important;
}

.mud-appbar .mud-icon-button {
    transition: all 0.2s ease;
}

.mud-appbar .mud-icon-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Fondo del contenido principal */
.main-content-bg {
    background-color: #f0f2f5 !important;
    min-height: 100vh;
}

/* Breadcrumbs mejorados */
.mud-breadcrumbs {
    background-color: transparent;
    padding: 8px 0;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    color: #666;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #1976d2;
    text-decoration: none;
}

/* Badge de notificaciones */
.mud-badge {
    cursor: pointer;
}

/* Drawer en modo mini */
.mud-drawer.mud-drawer-mini {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación del contenido principal */
.mud-main-content {
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container principal */
.mud-container {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltips mejorados */
.mud-tooltip {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Mejoras responsivas */
@media (max-width: 960px) {
    .mud-appbar .mud-text {
        font-size: 1rem;
    }
    
    .mud-drawer {
        width: 100%;
    }
}

/* Sombra suave en el AppBar */
.mud-appbar.mud-elevation-2 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Efecto de brillo sutil en el AppBar */
.mud-appbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
