.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
}

.auth-wrap {
  width: 100%; max-width: 440px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}

.auth-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900; font-size: 1.7rem;
  color: var(--primary); text-decoration: none;
  letter-spacing: 3px; margin-bottom: 30px;
}
.auth-logo span { color: var(--accent); }

.auth-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 38px 34px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}

.auth-head { margin-bottom: 26px; }
.auth-head h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: #fff; letter-spacing: 1px; margin-bottom: 6px;
}
.auth-head p { font-size: .87rem; color: var(--muted); margin: 0; }

/* Alerts */
.a-error {
  background: rgba(255,77,77,.07);
  border: 1px solid rgba(255,77,77,.28);
  color: #ff7070; border-radius: 6px;
  padding: 11px 14px; font-size: .85rem; margin-bottom: 22px;
}
.a-success {
  background: rgba(40,200,64,.07);
  border: 1px solid rgba(40,200,64,.28);
  color: #28c840; border-radius: 6px;
  padding: 11px 14px; font-size: .85rem; margin-bottom: 22px;
}

/* Fields */
.a-field { margin-bottom: 18px; }
.a-field label {
  display: block; font-size: .76rem; font-weight: 600;
  color: var(--text); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 7px;
}
.field-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 7px;
}
.field-row label { margin-bottom: 0; }

.inp-wrap { position: relative; }
.inp-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .9rem; pointer-events: none;
}
.inp-wrap input {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: .9rem;
  padding: 11px 42px;
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.inp-wrap input::placeholder { color: rgba(90,122,153,.55); }
.inp-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,229,255,.09);
  background: rgba(0,229,255,.02);
}
.inp-toggle {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted);
  font-size: .9rem; cursor: pointer; padding: 4px; transition: color .2s;
}
.inp-toggle:hover { color: var(--primary); }

/* Checkbox */
.a-check {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: .86rem; color: var(--muted); user-select: none;
  margin-bottom: 22px;
}
.a-check input { display: none; }
.a-check .box {
  flex-shrink: 0; width: 17px; height: 17px;
  border: 1px solid var(--border); border-radius: 4px;
  background: rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.a-check input:checked + .box {
  background: var(--primary); border-color: var(--primary);
}
.a-check input:checked + .box::after {
  content: '';
  width: 4px; height: 8px;
  border: 2px solid var(--bg); border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px); display: block;
}

/* Submit */
.btn-submit {
  width: 100%; background: var(--primary); color: var(--bg);
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px; border: none; border-radius: 6px;
  cursor: pointer; transition: all .3s;
}
.btn-submit:hover {
  background: #fff;
  box-shadow: 0 0 28px rgba(0,229,255,.4);
  transform: translateY(-1px);
}

/* Bottom */
.a-bottom {
  text-align: center; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--border);
  font-size: .86rem; color: var(--muted);
}
.a-link {
  color: var(--primary); text-decoration: none;
  font-weight: 600; margin-left: 4px; transition: color .2s;
}
.a-link:hover { color: #fff; }
.a-link-sm {
  font-size: .78rem; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.a-link-sm:hover { color: var(--primary); }

/* Strength bar */
.s-bar {
  height: 3px; background: rgba(255,255,255,.06);
  border-radius: 2px; overflow: hidden; margin-top: 8px;
}
.s-fill { height: 100%; width: 0; border-radius: 2px; transition: all .3s; }
.s-lbl { font-size: .72rem; margin-top: 4px; display: block; }

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