﻿/* Layout base */
.admin-layout-contedor {
    background-color: #ffffff;
}

/* AppBar administrativo con fondo tropical */
.appBar-admin {
    background: linear-gradient(to right, #f4a261, #e76f51);
    color: white !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.appBar-admin .mud-icon-button,
.appBar-admin .mud-menu-activator,
.appBar-admin .welcome-message h3 {
    color: #ffffff !important;
}

/* Drawer administrativo con azul noche */
.mud-drawer-admin {
    background: var(--Azul-noche);
    color: #ffffff !important;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Forzar texto blanco en enlaces y títulos del drawer */
.mud-drawer-admin .mud-nav-link,
.mud-drawer-admin .mud-nav-group-title,
.mud-drawer-admin .mud-nav-link-text,
.mud-drawer-admin .mud-nav-link-icon {
    color: #ffffff !important;
}

/* Hover y activo en enlaces del drawer */
.mud-drawer-admin .mud-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffd800 !important;
}

.mud-drawer-admin .mud-nav-link.active {
    background-color: #f4a261 !important;
    color: #212121 !important;
}

/* Títulos de grupo en el drawer */
.mud-drawer-admin .mud-nav-group-title {
    color: #ffd800 !important;
    font-weight: 600;
}

/* Contenido principal */
.MudMain-content {
    background-color: #ffffff;
}

.MudContenedor {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: margin-left 0.3s ease;
}

/* Ajuste dinámico si drawer está abierto */
.drawer-open .MudContenedor {
    margin-left: 250px;
}

@media (max-width: 992px) {
    .drawer-open .MudContenedor {
        margin-left: 0;
    }
}

/* Animación bienvenida */
.welcome-message {
    animation: softBounce 10s ease infinite;
}

@keyframes softBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.welcome-message i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.welcome-message:hover i {
    filter: drop-shadow(0 6px 12px rgba(138, 43, 226, 0.3));
    transform: scale(1.1);
}


.btn-limpiar {
    background: linear-gradient(to right, #b2f7ef, #a0e7e5); /* Tonos agua y limpieza */
    color: #000 !important; /* Verde oscuro para contraste */
    font-weight: 500 !important;
    border: solid #000 2px !important;
    text-align: center !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease-in-out !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-limpiar:hover {
    background: linear-gradient(to right, #26c6da, #00acc1); /* Azul más vibrante */
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: solid #00acc1 2px;
    color: white;
}

