.clean {
  clear: both;
}

body {
  margin: 0 auto;
  background: #f5f5f5;
  max-width: 1024px;
}

/* CABECERA PRINCIPAL */
#cabecera {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: radial-gradient(#fff, #eb9462);
  border-bottom: 2px groove #fff;
  border-top: 2px groove #fff;
  max-width: 1024px;
  margin: 0 auto;
  padding: 4px;
}

#titulo {
  text-align: center;
  flex: 1;
  /*! width: 20px; */
  /*! left: 33px; */
  /*! will-change: auto; */
}

#titulo h1 {
  margin: 0;
  font-size: 1.4em;
  text-shadow: 2px 2px 0px #ffffff;
  color: #845600;
  opacity: 0.8;
  margin-left: 1em;
}

#titulo span {
  font-size: 0.9em;
  opacity: 0.5;
  margin-left: 1.2em;
}

.img-logo1 {
  opacity: 0.8;
  height: 60px;
  width: 120px;

  display: none;
}

.img-logo2 {
  height: 70px;
  width: 160px;
  opacity: 0.9;
  margin-left: 0;
}

#abrir-cerrar {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  margin-right: 10px;
  width: 1em;
}


/* ESTILOS PERFIL EN CABECERA */
.user-profile-header {
  padding: 4px 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
}

.user-profile-header:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.profile-header-logo {
  height: 60px;
  border-radius: 50%;
  float: right;
  margin-left: 9px;
}

.user-profile-name {
  font-weight: bold;
  /*! float: right; */
}

.dropdown-arrow {
  font-size: 0.9em;
}

/* MENÚ DESPLEGABLE USUARIO - FUERA DE LA CABECERA */
#menu-desplegable {
  max-width: 400px;
  margin: 0 auto;
  background: #e6e6cc;
  padding: 1rem;
  border-radius: 0 0 8px 8px;
  border: 1px groove white;
}

#menu-desplegable ul {
  list-style-type: none;
  color: #973904;
  font-weight: bold;
}

#menu-desplegable ul li {
  padding: 5px;
}

#menu-desplegable ul li a {
  color: rgb(43, 39, 37);
  text-decoration: none;
}

#menu-desplegable ul li a:hover {
  color: #038e12;
  margin-left: 44px;
  font-style: oblique;
}

.user-dropdown-menu {
  position: fixed;
  top: 100px;
  background: white;
  border-radius: 8px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
  min-width: 250px;
  z-index: 1000;
}

.user-dropdown-menu .user-info {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  gap: 10px;
}

.user-dropdown-menu .user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-dropdown-menu .user-info div {
  flex: 1;
}

.user-dropdown-menu .user-info strong {
  display: block;
  font-size: 0.9em;
}

.user-dropdown-menu .user-info small {
  color: #666;
  font-size: 0.8em;
}

.user-dropdown-menu a,
.user-dropdown-menu form button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9em;
  gap: 8px;
}

.user-dropdown-menu a:hover,
.user-dropdown-menu form button:hover {
  background-color: #f5f5f5;
}

.user-dropdown-menu form {
  margin: 0;
  border-top: 1px solid #eee;
}

@media (max-width: 668px) {
  .img-logo2 {
    display: none;
  }

  #titulo h1 {
    font-size: 1.2em;
  }
}

/* Añadir al final de tu header.css */
.language-selector {
  position: absolute;
  z-index: 1000;
  left: 2%;
}


.language-selector select {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1em;
}

.language-selector select:focus {
  outline: none;
  border-color: rgb(70, 64, 64)
}

@media (max-width: 668px) {

  .language-selector select {
    font-size: 0.9em;
  }
}

/* Clase para excluir elementos de traducción */
.no-translate {
  translate: none !important;
}