html, body {
  width: 100%;
}


* {

    margin: 0;
    padding: 0;
    
}

@media (max-width: 600px) {
 
  .logo h3{

    display: none;

  }

}

header{
  border-bottom: 1px solid #7c7b7b;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 3;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  left: 0;
  right: 0;
}

.Inicio{
  border: none;
  border-radius: 2px;
  background-color: rgb(231, 108, 64);
  height: 30px;
  color: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;

}

.Salir{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border: none;
  border-radius: 2px;
  background-color: rgb(88, 88, 87);
  height: 30px;
  color: #fff;
}

main{

  display: flex;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  min-height: 100dvh;
  min-width: 0;
  background: #202124;
  overflow-x: hidden;
  padding-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0);
  overflow-x: hidden;
}

nav {

    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #202124;/* ---- color principal de la pagina ---- */
    padding: 10px 15px;
    color: rgb(0, 0, 0);

    width: 100%;        /* ocupa toda la pantalla */
    height: 80px;       /* se ajusta al contenido */

    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

}

/* ---- IZQUIERDA ---- */
.nav-left {

    display: flex;
    align-items: center;
    gap: 30px;


}

.menu-button{

  img{

    width: 40px;
    height: 30px;

  }

}

.keep{

    height: 50px;
    
}

.NotiHub{

    color: #fff;
    
}

.Tablones{

    height: 30px;
    border: 4px;

}

.menu-button,
.refresh-button,
.view-button,
.apps-button,
.profile-button {

    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
    font-size: 15px;

}

/* ---- Parte botones ---- */
/* ======== CONTENEDOR DEL MENÚ ======== */
#sidebar {
  
  width: 260px;
  flex-shrink: 0;
  background: #202124;
  font-family: Arial, sans-serif;
  color: #e8eaed;
}

/* ======== BOTONES DEL MENÚ ======== */
.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  margin: 2px 0;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.15s ease;
}

/* hover estilo Keep */
.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* íconos (lo que te aparece como esos rectangulitos) */
.sidebar-btn img,
.sidebar-btn i {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

/* texto de los botones */
.sidebar-btn span {
  color: #e8eaed;
  font-weight: 500;
}

/* botón seleccionado (fondo marrón de Keep) */
.sidebar-btn.activo {
  background: #41331c !important;
}

.sidebar-btn.activo span {
  color: #fff;
}

/* BOTÓN SELECCIONADO */
.sidebar-item.activo {
    background: #41331c !important; /* color dorado oscuro como Keep */
    border-radius: 30px;
}

.sidebar-item.activo span {
    color: white !important;
}

/* Permitir que A se comporte como botón */
#sidebar a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

/* Cuando está activo (clic) */
.sidebar-btn.activo {
    background: #41331c !important;
    color: #fff !important;
}

/* Menu */

/* Modo colapsado */
#sidebar.colapsado {
    width: 80px;            /* solo iconos */
    transition: width 0.2s ease;
}

/* Oculta el texto cuando está colapsado */
#sidebar.colapsado .sidebar-btn span {
    display: none;
}

/* Centra los iconos cuando está colapsado */
#sidebar.colapsado .sidebar-btn {
    justify-content: center;
    gap: 0;
}

/* Tamaño del icono en colapsado (opcional) */
#sidebar.colapsado .sidebar-btn img {
    margin-left: 0;
}

#sidebar.expanded {
  width: 260px;
  animation: abrirMenu 0.25s ease;
}

#sidebar.collapsed {
  width: 68px; /* o el ancho que tú quieras */
}



/* ---- DERECHA ---- */
.nav-right {

    display: flex;
    align-items: center;
    gap: 15px;

}






/* Carga de loader */


.loader {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.loader div {
  width: 8%;
  height: 15%;
  background: rgb(255, 255, 255);
  position: absolute;
  left: 50%;
  top: 37%;
  opacity: 0;
  border-radius: 50px;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  animation: fade458 1s linear infinite;
}

@keyframes fade458 {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.25;
  }
}

.loader .bar1 {
  transform: rotate(0deg) translate(0, -130%);
  animation-delay: 0s;
}

.loader .bar2 {
  transform: rotate(30deg) translate(0, -130%);
  animation-delay: -1.1s;
}

.loader .bar3 {
  transform: rotate(60deg) translate(0, -130%);
  animation-delay: -1s;
}

.loader .bar4 {
  transform: rotate(90deg) translate(0, -130%);
  animation-delay: -0.9s;
}

.loader .bar5 {
  transform: rotate(120deg) translate(0, -130%);
  animation-delay: -0.8s;
}

.loader .bar6 {
  transform: rotate(150deg) translate(0, -130%);
  animation-delay: -0.7s;
}

.loader .bar7 {
  transform: rotate(180deg) translate(0, -130%);
  animation-delay: -0.6s;
}

.loader .bar8 {
  transform: rotate(210deg) translate(0, -130%);
  animation-delay: -0.5s;
}

.loader .bar9 {
  transform: rotate(240deg) translate(0, -130%);
  animation-delay: -0.4s;
}

.loader .bar10 {
  transform: rotate(270deg) translate(0, -130%);
  animation-delay: -0.3s;
}

.loader .bar11 {
  transform: rotate(300deg) translate(0, -130%);
  animation-delay: -0.2s;
}

.loader .bar12 {
  transform: rotate(330deg) translate(0, -130%);
  animation-delay: -0.1s;
}



