/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("img/red.jpg") no-repeat center center/cover;
}

/* Contenedor principal */
.container {
  width: 900px;
  height: 500px;
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Sección izquierda: bienvenida */
.container::before {
  content: "";
  width: 50%;
  background: url("img/Unindex.png") no-repeat right center/cover;
  background-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  color: #020202;
  font-size: 1.1rem;
}

.container::before {
  white-space: pre-line;
  line-height: 1.6;
  font-weight: 300;
}

/* Contenedor del formulario (lado derecho) */
.form-container {
  width: 50%;
  background: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Título del formulario */
.form-container h2 {
  color: #333;
  margin-bottom: 30px;
}

/* Inputs */
form input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  transition: 0.3s;
}

form input:focus {
  border-color: #6a11cb;
  outline: none;
}

/* Botones */
button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

#adminBtn1 {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #955dcc, #2575fc);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  opacity: 0.9;
}

/* Texto para cambiar de formulario */
.switch {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

.switch a {
  color: #6a11cb;
  text-decoration: none;
  font-weight: 500;
}

.switch a:hover {
  text-decoration: underline;
}

/* Botón admin */
.admin-btn {
  background: transparent;
  border: 2px solid #6a11cb;
  color: #6a11cb;
  padding: 10px 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.admin-btn:hover {
  background: #6a11cb;
  color: #fff;
}

/* Ocultar formulario */
.hidden {
  display: none;
}



