/* === Estructura general === */
body {
  background: linear-gradient(135deg, #e9efff, #f4f7fd);
  font-family: "Nunito", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* === Tarjeta principal === */
.card {
  border: none;
  border-radius: 1.25rem;
  background-color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.01);
}

/* === Título y subtítulo === */
h1.h2 {
  font-weight: 700;
  color: #3b49df;
  margin-bottom: 0.5rem;
}

p.lead {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

/* === Inputs === */
.form-control-lg {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-lg:focus {
  border-color: #3b49df;
  box-shadow: 0 0 0 0.2rem rgba(59, 73, 223, 0.25);
}

/* === Password input extra space for icon === */
#password-input {
  padding-right: 3rem !important;
}

/* === Botón del ícono (dentro de input-group) === */
.input-group .toggle-password {
  height: calc(1.5em + 1.5rem + 2px); /* igual que .form-control-lg */
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  background-color: transparent;
  color: #6c757d;
  border-radius: 0.75rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.input-group .toggle-password:hover {
  background-color: #e9efff;
  color: #3b49df;
}

/* === Botón de login === */
.btn-primary {
  background-color: #3b49df;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  padding: 0.75rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #2c3cc6;
  transform: translateY(-2px);
}

/* === Checkbox y enlaces === */
.form-check-label {
  color: #6c757d;
  font-size: 0.95rem;
}

.text-center a {
  color: #3b49df;
  font-weight: 600;
  text-decoration: none;
}

.text-center a:hover {
  text-decoration: underline;
}
::placeholder {
  color: #adb5bd;
  font-style: italic;
  opacity: 0.9;
}


.card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer-text {
  font-size: 0.8rem;
  color: #adb5bd;
  text-align: center;
  margin-top: 2rem;
}
