html,
body {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;

  background: none;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("../../img/Carusel/temporal.jpeg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

}

.section-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  margin-left: 6vw; 
}


.login-card {
  backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.5);
  border: 6px solid #ec3334;     
  border-radius: 0.5rem;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.4),
    0 0 25px rgba(0, 0, 0, 0.25);
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.login-logo img {
  max-width: 180px;
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(251, 191, 36, 0.85))
    drop-shadow(0 0 32px rgba(59, 130, 246, 0.65));
}


.login-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  /* color: #4b5563; */
  color: black;
}

.input-with-icon {
  position: relative;
}

.input-with-icon::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.85rem;
  color: #9ca3af;
  pointer-events: none;
}

.input-with-icon--user::before {
  content: "\f007"; 
}

.input-with-icon--password::before {
  content: "\f023"; 
}

.form-control {
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid #c4d1ff;
  background: #f5f7ff;
  padding: 0.55rem 1rem 0.55rem 2.2rem; 
  color: #111827;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input-with-icon .form-control {
  padding-left: 2.2rem;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.form-control::placeholder {
  color: #9ca3af;
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 2.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #0f172a;
  color: #ffffff;
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.45),
    0 0 12px rgba(15, 23, 42, 0.7);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, filter 0.1s ease-out;
}
.btn-login {
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.5rem 2.4rem;
  text-transform: uppercase;
  display: inline-block;
}
.form-group.text-center .btn-login {
  margin-left: auto;
  margin-right: auto;
}


.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.6),
    0 0 18px rgba(15, 23, 42, 0.9);
}


.login-footer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  text-align: center;
  color: black;
}

.login-footer a {
  color: #2563eb;
}


@media (max-width: 991.98px) {
  body {
    background-position: center;
  }

  .section-login {
    justify-content: center; 
  }

  .login-wrapper {
    margin-left: 0;
    padding: 1.5rem;
    max-width: 380px;
  }

  .login-card {
    padding: 2.2rem 2rem 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .login-wrapper {
    max-width: 100%;
    padding: 1.25rem;
  }

  .login-card {
    padding: 1.75rem 1.5rem 1.5rem;
    border-width: 4px;
  }

  .login-logo img {
    max-width: 150px;
  }
}
