@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body.login-body {
  background-color: #26294a;
  color: white;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.login-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#img-logo img {
  max-height: 100px;
  margin-bottom: 2.5rem;
  /* Removida la sombra solicitada */
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.6rem;
  display: block;
  text-align: left;
}

.input-group-custom {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.5rem;
  align-items: center;
}

.input-group-custom:focus-within {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.input-icon {
  padding: 0 18px;
  color: #64748b;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group-custom:focus-within .input-icon {
  color: #38bdf8;
}

.form-control-custom {
  background: transparent !important;
  border: none !important;
  color: white !important;
  padding: 14px 15px 14px 0 !important; /* Mantenemos 0 para que empiece pegado al icono pero el icono tiene padding */
  height: auto !important;
  font-size: 1rem !important;
  width: 100%;
  outline: none;
}

/* Ajuste específico para que el texto no esté pegado al icono */
.input-icon + .form-control-custom {
  padding-left: 12px !important;
}

.form-control-custom::placeholder {
  color: #475569;
}

.btn-login {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 14px;
  padding: 14px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
  filter: brightness(1.1);
}

.btn-login:active {
  transform: translateY(0);
}

.alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-radius: 14px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
