@import "tailwindcss";

/* Estilos generales */
.container {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #123f53, #296fdf); /* azul claro amigable */
}


.forms-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 420px;
  background: rgba(15, 86, 192, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.sign-in-form {
  width: 100%;
}

.sign-in-form .title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

.input-field {
  position: relative;
  margin-bottom: 20px;
  color: #fff;
}

.input-field input {
  width: 100%;
  height: 45px;
  max-width: 500px;
  border: none;
  outline: none;
  border-radius: 25px;
  padding: 0 20px;
  padding-left: 45px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s ease;
}

.input-field input:focus {
  background: rgba(255, 255, 255, 0.4);
}

.input-field i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.2rem;
}

.btn {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 45px;
  margin: 20px auto;
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  padding: 10px;
}

.btn:hover {
  background: #ddd;
}

.text-secondary {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  display: block;
  margin-top: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-secondary:hover {
  color: #fff;
}

.fw-bold.text-secondary {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8) !important;
  text-align: center;
  display: block;
  margin-top: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fw-bold.text-secondary:hover {
  color: #fff !important;
}

.panels-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.panel {
  text-align: center;
}

.panel .content {
  margin-bottom: 20px;
}

.panel .content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.panel .content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.panel img {
  width: 100%;
  max-width: 400px;
}

.input-field input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  padding-left: 10px;
}

/* Media Queries para responsividad */
@media screen and (max-width: 768px) {
  /* Media query para ocultar el panel en pantallas menores */
  @media screen and (max-width: 768px) {
    .panels-container {
      display: none; /* Esto ocultará completamente el panel */
    }

    /* Ajustamos el contenedor principal para mejor espaciado cuando el panel está oculto */
    .container {
      justify-content: center;
      padding: 20px;
    }

    .forms-container {
      margin: 0 auto;
    }
  }
}

/* Estilos para el modal de reestablecer contraseña */
#modalReestablecerPassword .modal-dialog {
  max-width: 450px;
}

#modalReestablecerPassword .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(76, 107, 245, 0.288);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  color: #fff;
}

#modalReestablecerPassword .modal-header {
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
}

#modalReestablecerPassword .modal-title {
  font-weight: 600;
  font-size: 1.2rem;
}

#modalReestablecerPassword .modal-body {
  padding: 20px;
}

#modalReestablecerPassword .form-control {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 20px;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

#modalReestablecerPassword .form-control:focus {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none;
  color: #fff;
}

#modalReestablecerPassword .form-control::placeholder {
  color: rgba(255, 255, 255, 0.774);
}

#modalReestablecerPassword label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: block;
}

#modalReestablecerPassword .invalid-feedback {
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 5px;
}

#modalReestablecerPassword .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

#modalReestablecerPassword .btn-cancelar,
#modalReestablecerPassword .btn-guardar {
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 150px;
}

#modalReestablecerPassword .btn-cancelar {
  background: rgba(209, 27, 14, 0.8);
  color: white;
}

#modalReestablecerPassword .btn-cancelar:hover {
  background: rgba(209, 27, 14, 1);
  transform: translateY(-2px);
}

#modalReestablecerPassword .btn-guardar {
  background: rgba(34, 153, 84, 0.8);
  color: white;
}

#modalReestablecerPassword .btn-guardar:hover {
  background: rgba(34, 153, 84, 1);
  transform: translateY(-2px);
}

#modalReestablecerPassword .text-danger {
  color: #ff6b6b !important;
}

#modalReestablecerPassword .my-text-color {
  color: rgba(255, 255, 255, 0.9);
}

/* Estilos para los iconos */
#modalReestablecerPassword .fa-id-card,
#modalReestablecerPassword .fa-lock {
  margin-right: 5px;
  color: rgba(255, 255, 255, 0.7);
}

/* Efectos de hover para inputs */
#modalReestablecerPassword .form-control:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
  #modalReestablecerPassword .modal-dialog {
    margin: 10px;
  }

  #modalReestablecerPassword .btn-cancelar,
  #modalReestablecerPassword .btn-guardar {
    max-width: 100%;
    margin-bottom: 10px;
  }

  #modalReestablecerPassword .col-6 {
    width: 100%;
    text-align: center !important;
  }
}
