/* === menu.css  === */

/* --- VARIABLES ESPECÍFICAS DEL MENÚ --- */
:root {
  --ancho-input-archivo: 200px;
}

/* --- MENÚ DESPLEGABLE (+) --- */
.menu-attach {
  position: fixed;
  bottom: 0;
  left: 0;
  background: white;
  border-radius: 12px 12px 12px 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-width: 250px;
  max-height: 90vh;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  padding: 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

/* --- ENCABEZADO DEL MENÚ --- */
.menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
  margin: 0;
}

/* --- AVATAR ÚNICO PARA EL MENÚ --- */
.avatar-menu-circle {
  width: 40px;
  height: 40px;
  background-color: #128C7E;
  border: 2px solid black;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.avatar-menu-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* --- NOMBRE DE USUARIO Y ENLACE EDITAR --- */
.user-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.user-name span.badges {
  font-size: 8px;
  vertical-align: middle;
  margin-left: 4px;
}

.user-name small {
  display: block;
  font-size: 13px;
  color: #128C7E;
  margin-top: 2px;
  cursor: pointer;
}

.user-name small:hover {
  text-decoration: underline;
}

/* --- CONTENEDOR DEL MENÚ --- */
.menu-opciones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
}

.menu-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.menu-item:hover {
  background-color: #f0f2f5;
  border-radius: 8px;
  margin: 0 5px;
}