/* ============================================================
   QORZA AUTH PAGE — FINAL VERSION (Light mode + Brand styling)
   ============================================================ */

/* ---------- Page Base ---------- */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f3f4ff;
    color: #0f172a;
}

/* ============================================================
   HEADER — MATCHES LANDING PAGE
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.96),
    rgba(2, 6, 23, 0.8),
    transparent
  );
  backdrop-filter: blur(14px);
  padding: 0.7rem 0;
}

.auth-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Logo icon */
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #082f49;
  border: 2px solid #39ff14;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.6);
}

.logo-key {
  position: relative;
  width: 14px;
  height: 28px;
}
.logo-key::before,
.logo-key::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #39ff14;
}
.logo-key::before {
  width: 4px;
  height: 100%;
  border-radius: 999px;
}
.logo-key::after {
  width: 24px;
  height: 24px;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 0 0 4px #39ff14;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f9fafb;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #f9fafb;
  opacity: 0.85;
}

/* ============================================================
   AUTH CARD
   ============================================================ */

.auth-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 16px;
    background: radial-gradient(
        circle at 0% 0%,
        #1d2a4d 0%,
        #0f172a 45%,
        #0a1121 100%
    );
    color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.13);
}

/* Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 14px;
    background: rgba(255,255,255,0.06);
    border: none;
    cursor: pointer;
    color: #dbeafe;
    font-weight: 500;
    border-radius: 10px 10px 0 0;
    transition: 0.2s;
}

.auth-tab.active {
    background: #39ff14;
    color: #000;
    font-weight: 600;
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none;
}

label {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    font-size: 14px;
}

input,
select {
    margin-top: 6px;
    padding: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    border-radius: 8px;
    font-size: 14px;
}

select option {
  background: #0f172a;
  color: white;
}

input::placeholder {
    color: rgba(255,255,255,0.6);
}

input:focus,
select:focus {
    outline: 1px solid #39ff14;
}

/* Password toggle */
.password-wrapper {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 9px;
    background: none;
    border: none;
    color: #39ff14;
    cursor: pointer;
}

/* Submit button */
.auth-btn {
    padding: 14px;
    background: #39ff14;
    color: #000;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
}
.auth-btn:hover {
    opacity: 0.85;
}

/* Success + error messages */
.auth-error {
    color: #ff5252;
    font-size: 14px;
    margin-top: 10px;
}
.auth-success {
    color: #39ff14;
    font-size: 14px;
    margin-top: 10px;
}
