/* ============================================================
   OTC Desk — Auth Pages (Login / Register)
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Left panel */
.auth-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
}

/* Right decorative panel */
.auth-right {
  width: 45%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(201,168,76,0.15), transparent 60%),
    radial-gradient(ellipse 60% 60% at 30% 80%, rgba(77,142,255,0.08), transparent 50%),
    var(--bg-secondary);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Grid bg */
.auth-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.auth-right-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 360px;
}

.auth-right-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), #a8872e);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: #0a0b0f;
  margin: 0 auto 28px;
  box-shadow: 0 20px 60px rgba(201,168,76,0.3);
}

.auth-right-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.auth-right-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-bullets {
  list-style: none;
  text-align: left;
}
.auth-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.auth-bullets li:last-child { border-bottom: none; }
.auth-bullets li i {
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Form card */
.auth-card {
  width: 100%;
  max-width: 440px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 36px;
}
.auth-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), #a8872e);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #0a0b0f;
  font-size: 1.1rem;
}
.auth-logo-svg {
  height: 40px;
  width: auto;
  display: block;
}

.auth-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Password strength */
.pw-strength {
  margin-top: 8px;
}
.pw-strength-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.pw-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
}
.pw-strength-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.form-check a { color: var(--gold); }

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.auth-footer a { color: var(--gold); font-weight: 600; }

@media (max-width: 768px) {
  .auth-right { display: none; }
  .auth-left  { padding: 24px 20px; }
}
