/* ══════════════════════════════════════════════════════════
   AWARE WELLNESS — Login Page "AURORA GLASS" Theme
   Dark Glassmorphism · Neon Accents · Unique
══════════════════════════════════════════════════════════ */

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

:root {
  --g1: #7C3AED;
  --g2: #2563EB;
  --g3: #06B6D4;
  --g4: #10B981;
  --g5: #EC4899;
  --neon: #00FFD1;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-family: 'Poppins', sans-serif; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060B18;
  padding: 20px;
  overflow-x: hidden;
}

/* Aurora background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, rgba(124,58,237,0.4) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(37,99,235,0.3) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(6,182,212,0.2) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: aurora 15s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { opacity: 1; }
  50%  { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Floating blobs */
body::after {
  content: '';
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.15), transparent 70%);
  bottom: -150px; right: -100px;
  pointer-events: none; z-index: 0;
  animation: blobMove 20s ease-in-out infinite;
}
@keyframes blobMove {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-30px,20px) scale(1.1); }
}

/* ── LOGIN CARD ── */
.login-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 40px 32px 34px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
/* Colorful top line */
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--g1), var(--g3), var(--g5), var(--neon));
}
/* Inner glow */
.login-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
  pointer-events: none;
}
.login-card > * { position: relative; z-index: 1; }

/* Headings */
h1 {
  text-align: center;
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.sub {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 24px;
}

/* Logo */
.logo { text-align: center; margin-bottom: 24px; }
.logo img {
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  padding: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  filter: drop-shadow(0 0 16px rgba(124,58,237,0.3));
}
.brand {
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(135deg, #A78BFA, #67E8F9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
}
.tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Form fields */
.field { position: relative; margin-bottom: 14px; }
.field i {
  position: absolute;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
  transition: color 0.2s;
  z-index: 1;
}
.field input,
.field select {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #f1f5f9;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s;
  font-family: 'Poppins', sans-serif;
}
.field input::placeholder { color: rgba(255,255,255,0.25); }
.field input:focus {
  border-color: var(--g1);
  background: rgba(124,58,237,0.08);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
  color: #fff;
}
.field input:focus ~ i,
.field:focus-within i { color: #A78BFA; }
select option { background: #1a0a3c; color: #f1f5f9; }

/* Submit button */
.btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  background-size: 200% 200%;
  animation: btnGrad 4s ease infinite;
  box-shadow: 0 8px 32px rgba(124,58,237,0.45);
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.6s;
}
.btn:hover::before { background-position: 200% 0; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124,58,237,0.6);
}
@keyframes btnGrad {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Links */
.links {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  margin: 16px 0 0;
}
.links a {
  color: rgba(167,139,250,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.links a:hover { color: var(--neon); }

/* Sign up block */
.signup {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.signup a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 28px;
  border-radius: 50px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(124,58,237,0.4);
  color: #A78BFA;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.signup a:hover {
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(37,99,235,0.2));
  border-color: rgba(124,58,237,0.7);
  color: #fff;
  box-shadow: 0 6px 24px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

/* Alert */
.alert-danger {
  background: rgba(236,72,153,0.1) !important;
  border: 1px solid rgba(236,72,153,0.25) !important;
  border-left: 4px solid var(--g5) !important;
  color: #F9A8D4 !important;
  border-radius: 12px !important;
  font-size: 0.8rem;
  padding: 11px 14px !important;
  margin-bottom: 16px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 420px) {
  .login-card { padding: 30px 20px 26px; border-radius: 22px; }
  h1 { font-size: 1.35rem; }
  .logo img { height: 52px; }
}
