/* Estructura principal */
.container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin-top: -50px;
}

.screen {
  background: linear-gradient(90deg, #007bff,  #2454a3);
  position: relative;
  height: 600px;
  width: 360px;
  box-shadow: 0px 0px 10px #2454a3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen__content {
  z-index: 1;
  position: relative;
  width: 100%;
  padding: 20px;
}

.screen__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

/* Formulario de login */
.login {
  width: 100%;
  max-width: 320px;
  padding: 30px;
  padding-top: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login__field {
  padding: 15px 0;
  position: relative;
}

.login__icon {
  position: absolute;
  top: 12px;
  left: 0;
  color: #7875b5;
}

.login__input {
  border: none;
  border-bottom: 2px solid #d1d1d4;
  background: none;
  padding: 10px;
  padding-left: 24px;
  font-weight: 700;
  width: 100%;
  transition: 0.2s;
}

.login__input:focus {
  outline: none;
  border-bottom-color: #2454a3;
}

/* Botón de envío */
.login__submit {
  background: #007bff;
  font-size: 14px;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 26px;
  border: none;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #fff;
  box-shadow: 0px 2px 2px #0c5adb;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.login__submit:hover {
  background: #0056b3;
}

/* Icono dentro del botón */
.button__icon {
  font-size: 24px;
  margin-left: 10px;
  color: #ffffff;
}

/* Social login */
.social-login {
  position: relative;
  text-align: center;
  margin-top: 20px; /* Ajuste para dar espacio entre el botón de login y los iconos sociales */
  
}

.social-login p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff; /* Cambia el color a blanco */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 2px; /* Espacio entre el texto "Síguenos" y los iconos */
  min-width: 10px;
}

.social-login__icon {
  padding: 10px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 0px 8px #0c5adb;
  font-size: 20px;
  transition: transform 0.3s;
}

.social-login__icon:hover {
  transform: scale(1.2);
}

/* Responsividad */
@media screen and (max-width: 768px) {
  .login {
    padding: 20px;
    width: 100%;
  }

  .login__input {
    width: 100%;
  }

  .button.login__submit {
    padding: 15px;
  }
}

@media screen and (max-width: 480px) {
  .login {
    padding: 15px;
    width: 100%;
  }

  .login__input {
    padding-left: 10px;
  }

  .login__submit {
    padding: 12px;
  }
}

/* Estilos para la imagen del logo */
.imglog {
  
  max-width: 150px; /* Tamaño reducido para que quede bien centrado */
  height: auto;
  display: block;
  margin: 0 auto 5px; /* Centrar imagen y añadir margen inferior */
}



.screen {
  position: relative;
  z-index: 2; /* Asegúrate de que el contenido del formulario esté encima del fondo */
}

/* Ajustes de las formas de fondo */
.screen__background__shape1,
.screen__background__shape2,
.screen__background__shape3,
.screen__background__shape4 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.screen__background__shape1 {
  background-color: #FFA726;
  width: 300px;
  height: 300px;
  top: -50px;
  right: -150px;
}

.screen__background__shape2 {
  background-color: #EF5350;
  width: 200px;
  height: 200px;
  bottom: 50px;
  left: -100px;
}

.screen__background__shape3 {
  background-color: #66BB6A;
  width: 150px;
  height: 150px;
  bottom: -100px;
  right: 100px;
}

.screen__background__shape4 {
  background-color: #42A5F5;
  width: 250px;
  height: 250px;
  top: 100px;
  left: 50px;
}
