:root{
    --fondo: #f6f3ef;
    --azul1: #7499dfaf;
    --azul2:#0900af;
}
.tcenter{
 text-align: center;
}.redtop{
	color:red;
	font-size: 18px;
	font-weight: bold;
}
.dashboardtit{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
    gap: 10px;
	margin-bottom:5px;
	margin-top: 10px;
	font-weight: bold;
	font-size: 15px;
	background-color: var(--fondo);
}.dashboardtitbt{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
    gap: 10px;
	margin-bottom:5px;
	margin-top: 10px;
	font-size: 18px;
}
.titcat99{
	background-color:var(--fondo);
	border-bottom: 3px solid var(--azul1); 
}
.dashboardtit-item{ 
	min-height: 50px;
    margin-left: 10px;
    display: flex;
    align-items: center;
}
.cat1{ 
    color: white; 
    background-color: var(--azul1);}
.cat2{ 
    color: var(--azul1); 
    background-color: var(--azul2);}
.button1{
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: transparent;
  color:var(--azul1); 
  border: 2px solid var(--azul1); 
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}.button1:hover{
	background-color: var(--azul1); 
    color: white; 
}
@media (max-width: 768px) {
.navbar a .material-symbols-outlined{ 
        text-decoration: none; 
        color: var(--marron); 
    }
body{
        background-color: var(--crema); 
    }
.material-symbols-outlined{
        background-color: var(--crema);
        border-radius: 5px;
    }
footer .material-symbols-outlined,.metismenu .material-symbols-outlined{
        background-color: white;
    }
}
/* Boton del menu movil: utiliza la apertura y la flecha existentes. */
@media screen and (max-width: 1024px) {
    .mobile-menu-button {
        position: fixed;
        top: 8px;
        left: 12px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #e4e4e4;
        border-radius: 5px;
        background: #fff;
        color: #404142;
        font-size: 28px;
        cursor: pointer;
    }

    .wrapper.toggled .mobile-menu-button {
        display: none;
    }

    .sidebar-header .toggle-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Menu unificado: el fondo y la animacion pertenecen al contenedor. */
.wrapper .sidebar-wrapper .sidebar-header {
    position: relative;
    width: 100% !important;
    bottom: auto;
    background: transparent !important;
    border: 0;
}
.wrapper .sidebar-wrapper .metismenu {
    margin-top: 0;
}
.wrapper .sidebar-wrapper .metismenu ul,
.wrapper .sidebar-wrapper .metismenu .material-symbols-outlined {
    background: transparent;
}
.sidebar-wrapper {
    transition: width .2s ease-out, left .2s ease-out;
}

/* Tres lineas negras dibujadas con CSS, sin depender de la fuente de iconos. */
@media screen and (max-width: 1024px) {
    .mobile-menu-button > i {
        display: none;
    }
    .mobile-menu-button::before {
        content: "";
        display: block;
        width: 22px;
        height: 2px;
        background: #000;
        box-shadow: 0 -7px 0 #000, 0 7px 0 #000;
    }
}

/* Ordenador: al cerrar desaparece todo el panel y queda el boton. */
@media screen and (min-width: 1025px) {
    .wrapper.toggled .sidebar-wrapper {
        left: -300px;
        visibility: hidden;
        pointer-events: none;
    }
    .wrapper.toggled .page-wrapper { margin-left: 0; }
    .wrapper.toggled .page-footer { left: 0; }
    .wrapper.toggled .mobile-menu-button {
        position: fixed;
        top: 8px;
        left: 12px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #e4e4e4;
        border-radius: 5px;
        background: #fff;
        cursor: pointer;
    }
    .mobile-menu-button > i { display: none; }
    .mobile-menu-button::before {
        content: "";
        display: block;
        width: 22px;
        height: 2px;
        background: #000;
        box-shadow: 0 -7px 0 #000, 0 7px 0 #000;
    }
}
