

.contenedor-global {
  width: 100%;              /* ocupa todo el ancho disponible */
  max-width: 600px;         /* pero nunca más de 600px */
  margin: 0 auto;           /* centrado horizontalmente */
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;   /* apila elementos verticalmente */
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 20px;
  padding: 20px;            /* espacio interno para que no quede todo pegado a los bordes */
  box-sizing: border-box;   /* incluye padding en el ancho total */
}


.invitado-button {
  width: 150px;
  background: linear-gradient(90deg, #f093fb, #f5576c); 
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.login-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
}

h2 {
  text-align: center;
}

label {
  display: block;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 10px;
  background-color: cornflowerblue;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: rgb(19, 95, 236);
}

#errorMessage {
  color: red;
  text-align: center;
  font-size: 14px;
}


.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  padding-right: 40px; /* deja espacio para el ícono a la derecha */
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  color: #555;
}



.olvidastePassword {
  margin-top: 14px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
  margin-top: 20px;
  padding: 10px;
}

.olvidastePassword:hover {
  background-color: black;
}

/*Modal password*/

.modalPassword {
  position: fixed;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: none; /* Oculto por defecto */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
  z-index: 2000;
}

.modalPassword input {
  width: 300px;
  font-size: 16px;
}

.modalPassword h3 {
  margin-bottom: 15px;
}

.modalPassword label {
  margin-top: 10px;
}

.modalPassword button {
  margin-top: 15px;
  background-color: green;
  color: white;
  border: none;
  padding: 10px;
  width: 230px;
  border-radius: 4px;
  cursor: pointer;
}

.modalPassword button:hover {
  background-color: darkgreen;
}


