
/* Contenedor principal */
.dashboard-layout {
  display: flex;
  font-family: sans-serif;
  min-height: 100vh;
  height: auto;
}

.sidebar {
  background: linear-gradient(to bottom, #961227, #680012);
  color: white;
  width: 200px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 100vh;
  justify-content: flex-start;
}

.sidebar nav a {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
  font-size: x-large; 
  font-weight: 500;
  transition: color 0.2s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.sidebar nav a:hover {
  background: #fc9b00;
  color: rgb(14, 0, 0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.sidebar-toggle-button {
  font-size: 1rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 38px;
}

.sidebar-toggle-button:focus {
  outline: none;
  background: #fc9b00;
  box-shadow: 0 0 0 3px;
  background-color: rgba(255, 207, 48, 0.733);
}

.menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Menú */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-items a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
}

.menu-items a:hover {
  background-color: #a0122b;
}

/* Área principal */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  min-height: 100vh;
}

.content {
  padding: 2rem;
  background-color: #f0eeee;
  flex: 1;
  overflow-y: auto; /* Permite scroll vertical si es necesario */
}

.topbar {
  background-color: #e3b600;
  display: flex;
  flex-direction: column;
  padding: 0.1rem 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0rem;
}

.topbar-title {
  font-size: 1.2rem;  
  font-weight: 600;
  color: #ffffff;
}

.topbar-submenu {
  display: flex;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  gap: 15px;          
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
  padding: 0.2rem 0;
}

.submenu-link {
  font-size: 1.2rem;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #791313;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.5s ease;
}

.submenu-link:hover {
  background-color: #a0122b;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-icon {
  font-size: 1.6rem;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.2s ease;
}

.topbar-icon:hover {
  color: #791313;
}

.submenu-link:hover {
  background-color: #f5d600;
}

.language-select {
  padding: 6px 10px;
  border-radius: 20px;
  background-color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: bold;
  color: #680012;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.language-select:hover {
  background-color: #f5d600;
}

.language-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #680012;
}

/* 
.submenu-link {
  font-size: 1.2rem;  
  padding: 3px 6px;        
  border-radius: 4px;
  background-color: #f5d400cc;
} */


/* .submenu-link.active {
  background-color: #791313;
  color: white;
  font-weight: 600;
} */

/* 
.topbar {
  background-color: #e3b600;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.topbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
}

.topbar-submenu {
  display: flex;
  gap: 15px;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.submenu-link {
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #f5d400cc;
  font-weight: 500;
}

.submenu-link.active {
  background-color: #791313;
  color: white;
  font-weight: bold;
}
 */

/* .sidebar-toggle-button {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  outline: none;
}

.sidebar-toggle-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px #ffcf30;
  border-radius: 4px;
}
 */

/* .sidebar-toggle-button:focus {
  outline: 3px solid #ffcf30;  
  outline-offset: 2px;
  border-radius: 4px;
  background-color: rgba(255, 207, 48, 0.021); 
} */


/* .sidebar-toggle-button:focus {
  outline: 20px solid #ffcf30; 
  outline-offset: 8px;
} */

/* .sidebar-toggle-button:focus {
  outline: none;
} */

/* Header */
/* .topbar {
  background-color: #e3b600; 
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  padding-right:  1.5rem;
  padding-bottom: 0.8rem;
  padding-left: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.topbar-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  justify-content: flex-start;
}

.topbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-icons {
  display: flex;
  gap: 20px;
  align-items:end;
}

.topbar-icon {
  font-size: 1.4rem;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.2s ease;
}

.topbar-icon:hover {
  color: #791313;
}

.topbar-submenu {
  flex: 2;
  justify-content: center;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
} */

/* .submenu-link {
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s;
  background-color: #f5d400cc;
  font-weight: 500;
}

.submenu-link:hover {
  background-color: #f5d600;
}

.submenu-link.active {
  background-color: #791313;
  color: white;
  font-weight: bold;
} */

/* .topbar-center {
  flex: 2;
  justify-content: center;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
} */
