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

:root {
  --auth-bg-a: #0d1240;
  --auth-bg-b: #1A237E;
  --auth-bg-c: #E91E63;
  --auth-card: rgba(255, 255, 255, 0.95);
  --auth-text: #1a1a2e;
  --auth-muted: #555;
  --auth-input-border: #ddd;
  --auth-focus: #E91E63;
  --auth-cta-a: #E91E63;
  --auth-cta-b: #C2185B;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }

body.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--auth-text);
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.15), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(233,30,99,0.3), transparent 33%),
    linear-gradient(135deg, var(--auth-bg-a) 0%, var(--auth-bg-b) 48%, var(--auth-bg-c) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-shell { width: 100%; max-width: 1080px; }

.auth-card {
  width: 100%; max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--auth-card); border-radius: 22px; padding: 34px;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  animation: auth-pop 0.45s ease-out;
}

.auth-logo-wrap { display: flex; justify-content: center; margin: 0 0 12px; }

.auth-logo-img {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  background: #fff; border: 1px solid rgba(233,30,99,0.16);
  box-shadow: 0 10px 20px rgba(233,30,99,0.25);
}

.auth-logo-badge {
  width: 78px; height: 78px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E91E63, #C2185B);
  color: #fff; font-size: 34px;
  box-shadow: 0 10px 20px rgba(233,30,99,0.35);
}

.auth-brand {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; font-size: 12px;
  color: #C2185B; background: rgba(233,30,99,0.12);
}

.auth-title { margin: 14px 0 6px; font-size: clamp(28px, 3.5vw, 38px); line-height: 1.05; font-weight: 800; }
.auth-subtitle { margin: 0 0 20px; color: var(--auth-muted); font-size: 15px; }

.auth-feedback { display: none; border-radius: 12px; border: 0; font-size: 14px; padding: 10px 14px; margin-bottom: 18px; }
.auth-feedback.is-error { display: block; background: #fde9e9; color: #a4262c; }

.auth-form-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 14px; text-align: left; }
.auth-form-grid .col-12 { grid-column: span 12; }

.auth-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #1a1a2e; }

.auth-input-wrap { position: relative; }
.auth-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #999; font-size: 15px; pointer-events: none; }

.auth-input {
  height: 46px; border-radius: 12px; border: 1px solid var(--auth-input-border);
  font-size: 14px; width: 100%; padding: 0 14px; font-family: inherit;
}

.auth-input-wrap .auth-input { padding-left: 38px; }

.auth-input:focus { border-color: var(--auth-focus); box-shadow: 0 0 0 0.2rem rgba(233,30,99,0.2); outline: none; }

.auth-submit {
  width: 100%; height: 48px; border: 0; border-radius: 999px; color: #fff;
  font-weight: 700; letter-spacing: 0.04em; font-size: 15px; font-family: inherit;
  background: linear-gradient(120deg, var(--auth-cta-a), var(--auth-cta-b));
  box-shadow: 0 16px 26px rgba(233,30,99,0.28); cursor: pointer;
}

.auth-submit:hover { filter: brightness(1.05); }

.auth-switch { margin: 18px 0 0; text-align: center; color: var(--auth-muted); font-size: 14px; }
.auth-switch a { color: #E91E63; text-decoration: none; font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }

@keyframes auth-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 576px) {
  body.auth-body { padding: 12px; }
  .auth-card { border-radius: 16px; padding: 20px 14px; }
  .auth-title { font-size: 28px; }
}
