
:root {
  --bg: #090b16;
  --card: #111629;
  --green: #b5ff3d;
  --purple: #854bff;
  --white: #fff;
  --muted: #9ca4bc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 18px 35px;
  overflow-x: hidden;
}

.auth-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  filter: blur(120px);
  opacity: .14;
  border-radius: 50%;
  pointer-events: none;
}

.glow-a {
  background: var(--green);
  top: -150px;
  left: -150px;
}

.glow-b {
  background: var(--purple);
  bottom: -150px;
  right: -150px;
}

.back-home {
  position: absolute;
  top: 25px;
  left: 6%;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: .3s;
}

.back-home:hover {
  color: var(--green);
}

.auth-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
  animation: enter .7s ease both;
}

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

.auth-logo {
  display: block;
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: white;
  margin-bottom: 28px;
}

.auth-logo span {
  color: var(--green);
}

.auth-card {
  padding: 35px;
  background: rgba(17,22,41,.94);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.auth-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(181,255,61,.1);
  color: var(--green);
  border: 1px solid rgba(181,255,61,.2);
  border-radius: 13px;
  font-size: 25px;
  margin-bottom: 23px;
}

.auth-eyebrow {
  font-size: 9px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 2px;
}

.auth-card h1 {
  font-size: 30px;
  line-height: 1.3;
  margin-top: 10px;
  font-weight: 800;
  letter-spacing: -1px;
}

.auth-card h1 span {
  color: var(--green);
}

.auth-description {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0 28px;
}

.auth-card label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin: 18px 0 8px;
}

.auth-card input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border-radius: 9px;
  background: #0b1020;
  border: 1px solid rgba(255,255,255,.1);
  color: white;
  outline: none;
  font-family: inherit;
  font-size: 12px;
  transition: .3s;
}

.auth-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(181,255,61,.08);
}

.auth-card input::placeholder {
  color: #68718b;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 75px;
}

.show-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--green);
  font-size: 10px;
  font-family: inherit;
}

.form-options {
  margin: 15px 0;
  color: var(--muted);
  font-size: 10px;
}

.auth-submit {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 9px;
  background: var(--green);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  margin-top: 24px;
  transition: .3s;
}

.auth-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(181,255,61,.18);
}

.auth-submit:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.form-message {
  min-height: 18px;
  font-size: 11px;
  text-align: center;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.form-message.error {
  color: #ff7777;
}

.form-message.success {
  color: var(--green);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  color: #69718a;
  font-size: 9px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,.08);
  flex: 1;
}

.auth-footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.auth-footer a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth-legal {
  text-align: center;
  margin-top: 25px;
  color: #626a82;
  font-size: 9px;
  letter-spacing: 1px;
}

@media(max-width: 480px) {
  .auth-card {
    padding: 25px 20px;
  }

  .auth-card h1 {
    font-size: 26px;
  }

  .auth-logo {
    font-size: 16px;
  }
}
