/* Sign in / Register pages (Views/Account/Login.cshtml, Register.cshtml). Namespaced az-*; nothing here leaks into the rest of the site. */
:root {
  --az-bg: #09090b;
  --az-panel: #111113;
  --az-line: #2a2822;
  --az-line-gold: #6b5516;
  --az-text: #ffffff;
  --az-muted: #a5a199;
  --az-gold: #f2c94c;
  --az-gold-deep: #c99a1e;
  --az-ok: #34d399;
  --az-err: #ff7a7a;
}
.az-body { margin: 0; background: var(--az-bg); color: var(--az-text); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.az-page { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.az-page *, .az-page *::before, .az-page *::after { box-sizing: border-box; }
.az-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 38% at 0% 0%, rgba(214, 160, 30, .30), transparent 70%), radial-gradient(50% 30% at 100% 30%, rgba(214, 160, 30, .06), transparent 70%); }
.az-shell { position: relative; z-index: 1; width: 100%; max-width: 460px; margin: 0 auto; padding: 28px 24px 44px; }
@media (min-width: 600px) {
  .az-page { display: grid; place-items: center; padding: 32px 16px; }
  .az-shell { margin: 0; border: 1px solid #1d1b16; border-radius: 28px; background: rgba(13, 13, 15, .86); padding: 36px 36px 44px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
}

/* ---------- login header: ticket artwork + logo ---------- */
.az-hero { position: relative; text-align: center; padding: 34px 0 6px; }
.az-ticket { position: absolute; left: 50%; top: -6px; width: 118%; max-width: 560px; transform: translateX(-50%) rotate(-11deg); opacity: .9; pointer-events: none; }
.az-mark { position: relative; display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; background: linear-gradient(145deg, #f8d974, #d9a823 70%, #c4921a); color: #1b1405; font-weight: 800; font-size: 30px; letter-spacing: -.5px; box-shadow: 0 10px 30px rgba(214, 160, 30, .25); }
.az-brand { position: relative; margin: 16px 0 0; font-size: 32px; font-weight: 800; letter-spacing: -.5px; color: var(--az-gold); }
.az-title { margin: 44px 0 8px; text-align: center; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.8px; }
.az-sub { margin: 0 0 26px; text-align: center; color: var(--az-muted); font-size: 17px; }

/* ---------- segmented tabs ---------- */
.az-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid #34312a; border-radius: 16px; background: #121214; margin-bottom: 26px; }
.az-tab { appearance: none; border: 0; background: transparent; color: #cfcbc2; height: 52px; border-radius: 13px; font: inherit; font-size: 18px; font-weight: 500; cursor: pointer; }
.az-tab.is-active { background: linear-gradient(135deg, #f6d56f, #dcae2b); color: #1b1405; font-weight: 700; }

/* ---------- fields ---------- */
.az-label { display: block; margin: 0 0 10px; color: #cfcbc2; font-size: 17px; }
.az-field { position: relative; display: flex; align-items: center; height: 60px; border: 1px solid var(--az-line-gold); border-radius: 14px; background: #0c0c0e; margin-bottom: 18px; transition: border-color .15s, box-shadow .15s; }
.az-field:focus-within { border-color: var(--az-gold); box-shadow: 0 0 0 3px rgba(242, 201, 76, .14); }
.az-field.is-plain { border-color: #34312a; }
.az-field input, .az-field select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; color: var(--az-text); font: inherit; font-size: 18px; width: 100%; height: 100%; padding: 0 16px; }
.az-field input::placeholder { color: #77736b; }
.az-field input[readonly] { color: #cfcbc2; }
.az-cc { position: relative; flex: 0 0 auto; display: flex; align-items: center; height: 60%; padding-right: 6px; border-right: 1px solid #34312a; }
.az-cc select { width: 74px; padding: 0 22px 0 18px; font-weight: 500; cursor: pointer; }
.az-cc select option { color: #111; background: #fff; }
.az-cc svg { position: absolute; right: 4px; width: 16px; height: 16px; pointer-events: none; color: #cfcbc2; }
.az-ico { flex: 0 0 auto; width: 20px; height: 20px; margin-left: 16px; color: #8d897f; }
.az-ico + input { padding-left: 12px; }
.az-eye { appearance: none; border: 0; background: transparent; color: #a5a199; width: 52px; height: 100%; display: grid; place-items: center; cursor: pointer; }
.az-eye svg { width: 22px; height: 22px; }
.az-hint { margin: -8px 0 16px; color: #8d897f; font-size: 13px; }

/* ---------- buttons ---------- */
.az-btn { appearance: none; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border: 0; border-radius: 16px; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, #f7d86f, #dfb02e 60%, #cf9d20); color: #1b1405; box-shadow: 0 8px 24px rgba(214, 160, 30, .18); }
.az-btn svg { width: 22px; height: 22px; }
.az-btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.az-link { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--az-gold); font-weight: 600; text-decoration: none; cursor: pointer; }
.az-link:hover { text-decoration: underline; }

.az-secure { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; color: #a5a199; font-size: 17px; }
.az-secure svg { width: 22px; height: 22px; color: #d9d5cb; }
.az-divider { display: flex; align-items: center; gap: 16px; margin: 36px 0 0; color: var(--az-muted); font-size: 17px; }
.az-divider::before, .az-divider::after { content: ""; flex: 1; height: 1px; background: #26241f; }
.az-divider span { white-space: nowrap; }
.az-legal { margin: 34px 0 0; text-align: center; color: #8d897f; font-size: 15px; line-height: 1.7; }
.az-legal a { color: var(--az-gold); text-decoration: none; }
.az-error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(255, 122, 122, .45); border-radius: 12px; background: rgba(255, 122, 122, .08); color: var(--az-err); font-size: 15px; }
.az-error[hidden] { display: none; }

/* ---------- registration: top bar, steps, otp boxes ---------- */
.az-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-bottom: 26px; }
.az-back { appearance: none; border: 0; background: transparent; color: #e9e6df; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.az-back svg { width: 26px; height: 26px; }
.az-topbrand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.az-topbrand .az-tmark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--az-gold); color: var(--az-gold); font-size: 13px; font-weight: 800; background: rgba(242, 201, 76, .08); }
.az-topbrand .t { color: var(--az-gold); font-weight: 500; }
.az-steps { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 6px 0 26px; color: #a5a199; font-size: 16px; }
.az-dots { display: flex; align-items: center; }
.az-dot { width: 11px; height: 11px; border-radius: 50%; background: #55524a; }
.az-dot.is-on { background: var(--az-gold); }
.az-dots i { display: block; width: 34px; height: 2px; background: #55524a; }
.az-h1 { margin: 0 0 10px; text-align: center; font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -.6px; }
.az-p { margin: 0 0 26px; text-align: center; color: #d6d2c8; font-size: 18px; line-height: 1.45; }
.az-p b { color: #fff; font-weight: 600; }
.az-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 6px 0 24px; }
.az-otp input { width: 100%; height: 66px; text-align: center; border: 1px solid #3a372f; border-radius: 12px; background: #101012; color: #fff; font: inherit; font-size: 26px; font-weight: 700; outline: 0; padding: 0; caret-color: var(--az-gold); }
.az-otp input:focus { border-color: var(--az-gold); box-shadow: 0 0 0 3px rgba(242, 201, 76, .14); }
.az-otp input.is-filled { border-color: var(--az-line-gold); }
.az-resend { margin: 20px 0 0; text-align: center; color: #a5a199; font-size: 17px; }
.az-verified { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 0 auto 24px; padding: 11px 20px; border: 1px solid rgba(52, 211, 153, .45); border-radius: 12px; background: rgba(16, 90, 60, .22); color: #e8fff5; font-size: 17px; }
.az-verified svg { width: 22px; height: 22px; color: var(--az-ok); }
.az-check { display: flex; align-items: center; gap: 12px; margin: 4px 0 22px; color: #d6d2c8; font-size: 16px; cursor: pointer; }
.az-check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 24px; height: 24px; margin: 0; border: 1.5px solid #6b6760; border-radius: 6px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.az-check input:checked { background: var(--az-gold); border-color: var(--az-gold); }
.az-check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #1b1405; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.az-check a { color: var(--az-gold); text-decoration: none; }
.az-step[hidden] { display: none; }
.az-film { display: block; width: calc(100% + 48px); margin: 30px -24px -44px; pointer-events: none; }
@media (min-width: 600px) { .az-film { width: calc(100% + 72px); margin: 30px -36px -44px; border-radius: 0 0 28px 28px; } }

@media (max-width: 380px) {
  .az-title { font-size: 34px; } .az-h1 { font-size: 30px; }
  .az-otp { gap: 7px; } .az-otp input { height: 58px; font-size: 22px; }
}

/* phones: the film strip hugs the bottom edge of the screen, whatever the step's height */
@media (max-width: 599.98px) {
  .az-page[data-az-page="register"] .az-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  .az-page[data-az-page="register"] .az-step:not([hidden]) { margin-bottom: 30px; }
  .az-page[data-az-page="register"] .az-film { margin-top: auto; flex: 0 0 auto; }
}

@media (min-width: 600px) { .az-shell { overflow: hidden; } }   /* laptop card: keep the ticket artwork inside the rounded edge */
