.dashboard-main {
  display: flex;
  width: 100vw;
  height: 100vh;
}

.left-menu {
  width: 12vw;
  height: 100%;
  position: relative;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
  padding: 120px 0px 0px 0px;
  background-color: var(--bg-secondary);
}

.logo-menu {
  width: 80%;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 24px;
  left: 24px;
}

.website-content {
  width: 88vw;
  height: 100vh;
  background-color: var(--bg-primary);
  display: block; /* cambia de flex a block */
  overflow-y: auto; /* permite scroll vertical */
  padding: 1rem; /* opcional, para que no pegue al borde */
}

.menu-content {
  display: flex;
  flex-direction: column;
}

.menu-content button {
  width: 100%;
  height: 40px;
  border: none;
  background-color: transparent;
  color: var(--text-dark);
  font-size: var(--size-font-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.menu-content button:hover {
  color: var(--text-primary);
  background-color: var(--color-primary);
}

.menu-content button.active {
  color: var(--text-primary);
  background-color: var(--color-primary);
}

.user-container {
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 80%;       /* si quieres abajo, te pongo alternativa abajo */
  left: 24px;

  background-color: #f0f0f0;  /* gris suave */
  border-radius: 12px;        /* redondeado suave */

  padding: 8px 12px;          /* que no quede aplastado */
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.user-container:hover {
  background-color: #d9d9d9;  /* gris más oscuro */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* ligera sombra */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-user {
  background: white;
  width: 380px;
  max-width: 90vw;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.25s ease;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

