:root {
  --page-bg: #080303;
  --panel-bg: #260b07;
  --field-bg: #160604;
  --gold: #d4af37;
  --text: #f3efe5;
  --muted: #b7baaf;
  --border: rgba(212, 175, 55, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(20, 3, 2, 0.88), rgba(10, 2, 1, 0.94)),
    url("images/cta_bg.jpg") center / cover fixed no-repeat;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(8rem, 12vw, 10rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(380px, 1.08fr);
  width: min(100%, 980px);
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px 6px 24px 6px;
  background: var(--panel-bg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.auth-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #0b0302;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 4, 2, 0.04) 25%, rgba(14, 2, 1, 0.96) 82%);
}

.auth-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.auth-visual-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-visual h1 {
  margin: 0.7rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.auth-visual p,
.auth-visual li {
  color: #d0d2c8;
  line-height: 1.65;
}

.auth-visual ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.auth-visual li {
  position: relative;
  padding-left: 1.15rem;
}

.auth-visual li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.auth-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.25rem);
}

.auth-logo {
  width: auto;
  max-width: 150px;
  max-height: 64px;
  object-fit: contain;
}

.auth-form-panel h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.auth-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #d9dbd2;
  font-size: 0.85rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  outline: 0;
  background: var(--field-bg);
  color: white;
}

.field input:focus {
  border-color: var(--gold);
}

.form-options,
.terms-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.terms-row {
  justify-content: flex-start;
}

.auth-form a,
.auth-switch a {
  color: var(--gold);
  text-decoration: none;
}

.auth-submit {
  min-height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  background: linear-gradient(155deg, #b70d05, #720700);
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
}

.auth-submit:hover {
  background: linear-gradient(155deg, #b70d05, #720700);
}

.auth-switch {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.back-home {
  display: inline-block;
  margin-top: 1.25rem;
  color: #9fa297;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
}

.responsible-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: #92968b;
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .auth-page {
    display: block;
    padding: 84px 0 0;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .auth-visual {
    min-height: 480px;
  }

  .auth-form-panel {
    padding: 2rem 1.25rem 3rem;
  }
}

.auth-page-header .desktop-buttons a,
.auth-page-header .mobile-buttons a {
  text-decoration: none;
}

/* Woospin red / gold auth theme */
:root{--page-bg:#080303;--panel-bg:#190806;--field-bg:#0d0403;--gold:#ffc400;--text:#fff8e7;--muted:#d0b9a5;--border:rgba(255,196,0,.34)}
body{background:linear-gradient(rgba(28,3,2,.7),rgba(7,2,1,.88)),url("images/cta_bg.jpg") center/cover fixed no-repeat}
.auth-shell{background:linear-gradient(145deg,#2b0c07,#0d0403);border-color:var(--border);box-shadow:0 30px 90px rgba(0,0,0,.65),0 0 30px rgba(171,19,5,.14)}
.auth-visual{background:#100403}.auth-visual::after{background:linear-gradient(to bottom,rgba(35,5,3,.08) 20%,rgba(12,3,2,.97) 88%)}
.auth-form-panel{background:linear-gradient(160deg,#210a06,#0c0403)}
.auth-form input{background:#0b0303;border-color:rgba(255,196,0,.3);color:#fff}
.auth-submit{border-color:#ffd23b;background:linear-gradient(180deg,#e21a0c,#930700 60%,#5e0300);box-shadow:0 4px 0 #420200}
.auth-submit:hover{background:linear-gradient(180deg,#ff321d,#b70b03 60%,#720400)}

/* Login page visual guidance */
.auth-visual-copy>.eyebrow{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .75rem;border-radius:999px;background:rgba(255,196,0,.1);box-shadow:0 0 18px rgba(255,196,0,.08)}
.auth-security-grid{display:grid;gap:.7rem;margin-top:1.35rem}
.auth-security-item{display:grid;grid-template-columns:38px 1fr;gap:.75rem;align-items:center;padding:.8rem;border:1px solid rgba(255,196,0,.2);border-radius:10px;background:rgba(10,3,2,.64);backdrop-filter:blur(6px)}
.auth-security-item>i{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:rgba(255,196,0,.11);color:var(--gold)}
.auth-security-item span{color:#cfd1c8;font-size:.82rem;line-height:1.4}
.auth-security-item strong{display:block;margin-bottom:.12rem;color:#fff1b3;font-size:.88rem}
.auth-panel-kicker{margin-top:1.3rem;color:var(--gold);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.auth-panel-kicker+h2{margin-top:.55rem}
.auth-submit{display:flex;align-items:center;justify-content:center;gap:.55rem}
.login-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.25rem}
.login-help-card{display:grid;grid-template-columns:30px 1fr;gap:.55rem;align-items:center;padding:.75rem;border:1px solid rgba(255,196,0,.18);border-radius:9px;background:rgba(255,255,255,.025);color:var(--muted)!important}
.login-help-card>i{color:var(--gold);text-align:center}
.login-help-card span{font-size:.72rem;line-height:1.35}
.login-help-card strong{display:block;color:#f4ead7;font-size:.8rem}
.login-help-card:hover{border-color:rgba(255,196,0,.48);background:rgba(255,196,0,.07)}
.login-security-note{display:flex;gap:.55rem;margin:1rem 0 0;padding:.75rem;border-left:2px solid var(--gold);background:rgba(255,196,0,.055);color:#aeb0a7;font-size:.72rem;line-height:1.45}
.login-security-note i{margin-top:.12rem;color:var(--gold)}
@media(max-width:520px){.login-help-grid{grid-template-columns:1fr}.auth-security-item{grid-template-columns:34px 1fr}.auth-security-item>i{width:34px;height:34px}}
.signup-requirements{display:flex;flex-wrap:wrap;gap:.5rem;margin:-.5rem 0 1.15rem}
.signup-requirements span{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .65rem;border:1px solid rgba(255,196,0,.2);border-radius:999px;background:rgba(255,196,0,.06);color:#d8d0c1;font-size:.7rem;font-weight:700}
.signup-requirements i{color:var(--gold);font-size:.65rem}
