* {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #1e1b3a, #4c1d95, #7c3aed);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  min-height: 100vh;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.login-container {
  background: transparent;
  padding: 1rem;
}

.login-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  max-width: 400px;
  width: 100%;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
  margin-bottom: 2rem;
}

.logo-login {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.login-header h2 {
  font-weight: 700;
  color: #4c1d95;
  margin: 1rem 0 0.25rem;
  font-size: 1.6rem;
}

.login-subtitle {
  color: #8b8b9a;
  font-size: 0.85rem;
  margin: 0;
}

/* ===== Inputs flotantes ===== */
.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e4dcf7;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  background: #fafafd;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.input-group input:focus {
  border-color: #7c3aed;
  background: #ffffff;
}

.input-group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a099b8;
  font-size: 15px;
  transition: 0.2s ease;
  background: #fafafd;
  padding: 0 4px;
  pointer-events: none;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 12px;
  color: #7c3aed;
  background: #ffffff;
}

/* ===== Botón ===== */
.btn-lindo {
  width: 100%;
  padding: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

.btn-lindo:hover:not(:disabled) {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

.btn-lindo:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.3);
}

.btn-lindo:disabled {
  cursor: not-allowed;
}

.footer-copy {
  font-size: 0.8rem;
  color: #a0a0a8;
  margin-bottom: 0.15rem;
}

.footer-credit {
  font-size: 0.72rem;
  color: #c4c4cc;
}