@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

*,
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom right,#cbcdcd, #cbcdcd);
  margin: 0;
}

.toggle-password {
  background: none;
  border: none;
  cursor: pointer;
}

.toggle-password:focus {
  outline: none;
}

.toggle-password i {
  color: black;
  /* Color del ícono */
  border: 1px solid white;
  /* Borde blanco */
  border-radius: 50%;
  /* Borde redondeado */
  padding: 5px;
  /* Espaciado interno */
}


.design {
  display: none;
  position: relative;
}

.rotate-45 {
  transform: rotate(-45deg);
}

.design .pill-1 {
  bottom: 0;
  left: -40px;
  position: absolute;
  width: 80px;
  height: 200px;
  background: linear-gradient(#7b174f, #821455, #791336);
  border-radius: 40px;
}

.design .pill-2 {
  top: -100px;
  left: -80px;
  position: absolute;
  height: 450px;
  width: 220px;
  background: linear-gradient(#7b174f, #821455, #791336);
  border-radius: 200px;
  border: 30px solid #cdcbcb;
}

.design .pill-3 {
  top: -100px;
  left: 160px;
  position: absolute;
  height: 200px;
  width: 100px;
  background: linear-gradient(#7b174f, #821455, #791336);
  border-radius: 70px;
}

.design .pill-4 {
  bottom: -180px;
  left: 220px;
  position: absolute;
  height: 300px;
  width: 120px;
  background: linear-gradient(#821455, #791336);
  border-radius: 70px;
}

.container {
  width: 90%;
  max-width: 750px;
  margin: 0 auto;
  height: 60vh;
  /* Mantenemos la altura original */
  display: grid;
  grid-template-columns: 100%;
  box-shadow: 0 0 17px 10px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  background: whitesmoke;
  overflow: hidden;
}

.login {
  display: flex;
  flex-direction: column;
  align-items: center;
  right: 11%;
  justify-content: center;
  position: relative;
  padding: 15px;
  background: whitesmoke;
  box-shadow: none;
}

.login h3.title {
  margin: 15px 0;
}

.input-box {
  background: white;
  height: 40px;
  display: flex;
  width: 100%;
  align-items: center;
  border-radius: 10px;
  padding: 0 15px;
  margin: 10px 0;
  align-items: center;
}

.input-box input {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  margin-left: 10px;
}

.input-box .icon-1 {
  color: #686868;
  margin-left: 10px;
}

::placeholder {
  color: #9a9a9a;
}

.login-btn {
  width: 100%;
  padding: 10px;
  color: white;
  background: #791336;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 10px;
  margin-left: 20px; /* Mueve el botón hacia la derecha */

}

a {
  font-size: 12px;
  color: #9a9a9a;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

a.forgot {
  margin-top: 15px;
}

.create {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 30px;
}


.create i {
  color: #9a9a9a;
  margin-left: 10px;
}

@media (min-width: 768px) {
  .container {
    grid-template-columns: 50% 50%;
    grid-template-areas: "design login";
  }

  .design {
    display: block;
  }
}

.alert.alert-warning{
  width:30%;
  height: 30%;
}
.alert {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  padding: 10px;
  background-color:white; /* Cambia el color de fondo y ajusta la opacidad */
  color:black;
  border-radius: 40px;
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 0.3s ease;
  text-align: center; /* Centra el texto horizontalmente */
}

.alert img {
  display: block; /* Asegura que la imagen se muestre como un bloque */
  margin: 0 auto 1px; /* Centra la imagen horizontalmente y agrega un espacio por debajo */
  max-width:60%; /* Establece el ancho máximo de la imagen al 100% del contenedor */
  height: 80%; /* Permite que la altura se ajuste automáticamente según el ancho */
}

