/* Ticket Neon CSS / base
 * Global tokens, reset, layout primitives and accessibility states.
 * Owner: web/public/styles/base.css. Keep modifications here, not in app/globals.css.
 */

* {
  box-sizing:border-box;
}

body.theme-light {
  background:inherit;
  color:inherit;
}

::selection {
  background:#e02ac4;
  color:#fff;
}

a,
button,
input,
select,
textarea {
  transition:border-color .18s,background-color .18s,box-shadow .18s,transform .18s;
}

button,
a {
  outline-offset:3px;
}

:focus-visible {
  outline:2px solid #e987f5!important;
  outline-offset:3px;
}

button:not(:disabled) {
  cursor:pointer;
}

main.bg-black {
  background:transparent;
}

main .bg-black {
  background-color:#0a0d23;
}

main .bg-white\/5 {
  background-color:rgba(29,25,56,.78);
  border-color:rgba(174,110,245,.3);
}

main .border-white\/10 {
  border-color:rgba(174,110,245,.28);
}

main .border-white\/20 {
  border-color:rgba(200,147,255,.38);
}

main :is(input,textarea,select) {
  color:#fff;
  background:#171630;
  border:1px solid #584474;
  border-radius:7px;
  min-height:44px;
}

main :is(input,textarea,select):focus {
  border-color:#e84be8;
  box-shadow:0 0 0 3px #e84be820;
  outline:none;
}

main :is(input,textarea)::placeholder {
  color:#a5a0ba;
}

main :is(.rounded-3xl,.rounded-2xl) {
  box-shadow:0 12px 32px #0506154d;
}

.tn-gradient {
  background:linear-gradient(105deg,#fc54b8,#c161f7 54%,#648bff);
  background-clip:text;
  color:transparent;
}

.tn-kicker {
  color:#e87fe6;
  font-weight:800;
  letter-spacing:.18em;
  font-size:calc(.76rem - 1px);
}

.tn-input {
  background:#1c1a37;
  border:1px solid #75558e;
  border-radius:7px;
  padding:12px 15px;
  color:#fff;
  width:100%;
}

.tn-inline-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.tn-muted {
  color:#bfb3d0;
}

@media(max-width:740px) {
.tn-page {
  width:min(100% - 30px,1400px);
  padding:22px 0 54px;
}
}

@media(max-width:740px) {
.tn-inline-grid {
  grid-template-columns:1fr;
}
}

@media(max-width:420px) {
.tn-title {
  font-size:calc(2.25rem - 1px);
}
}

@media(prefers-reduced-motion:reduce) {
*,
*:before,
*:after {
  scroll-behavior:auto!important;
  transition-duration:.01ms!important;
  animation-duration:.01ms!important;
}
}

:root {
  color-scheme:dark;
  --background:#080b1c;
  --foreground:#f7f3ff;
  --tn-pink:#f337cc;
  --tn-violet:#9749ff;
  --tn-line:#4e366c;
  --tn-muted:#b9b2cd;
  --tn-panel:#11142d;
  --tn-surface:#16142b;
  --tn-surface-raised:#201938;
  --tn-border:#66447f;
  --tn-ink:#f6f1fc;
  --tn-soft:#c1b6d3;
}

html {
  scroll-behavior:smooth;
  overflow-x:clip;
}

body {
  font-size: var(--text-base);
  margin:0;
  min-height:100dvh;
  background:radial-gradient(ellipse at 10% 12%,#29123883,transparent 36%),radial-gradient(ellipse at 90% 3%,#36124566,transparent 29%),#090a1b;
  color:#f7f3ff;
  font-family:Arial,Helvetica,sans-serif;
  display:flex;
  flex-direction:column;
  overflow-x:clip;
}

.tn-page {
  width:min(1380px,calc(100% - 52px));
  margin:0 auto;
  padding:24px 0 52px;
}

.tn-title {
  font-size:calc(clamp(2rem,3.2vw,3rem) - 1px);
  font-weight:850;
  line-height:1.09;
  letter-spacing:-.04em;
}

.tn-subtitle {
  color:#c8c0d8;
  font-size:calc(clamp(.9rem,1.04vw,1rem) - 1px);
  line-height:1.55;
  max-width:650px;
}

.tn-page-hero {
  min-height:0;
  border-radius:7px;
  border:1px solid #55386f6b;
  background:#0d0c24;
}

.tn-page-hero:before {
  opacity:.83;
  background:linear-gradient(90deg,#080a1dea 0%,#0d0b22dd 36%,#10102b82 76%,#090a1d36 100%),url("/img/ticketneon-skyline.svg") center / cover no-repeat;
}

.tn-page-hero:after {
  height:35px;
}

.tn-page-hero .tn-title {
  margin-top:8px;
}

.tn-page-hero .tn-subtitle {
  margin-top:8px;
}

.tn-eyebrow {
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:800;
  font-size:calc(.69rem - 1px);
  color:#f35bdc;
}

.tn-input,
main :is(input,textarea,select) {
  min-height:42px;
  border-radius:7px;
}

.tn-stack {
  display:grid;
  gap:12px;
}

@media(max-width:1100px) {
.tn-page {
  width:calc(100% - 42px);
}
}

@media(max-width:560px) {
.tn-page {
  width:calc(100% - 28px);
  padding:17px 0 38px;
}
}

@media(max-width:560px) {
.tn-page-hero {
  border-radius:7px;
}
}

@media(max-width:560px) {
.tn-title {
  font-size:calc(clamp(1.75rem,7vw,2.3rem) - 1px);
}
}

@media(max-width:560px) {
.tn-subtitle {
  font-size:calc(.89rem - 1px);
  line-height:1.48;
}
}

@media(max-width:560px) {
.tn-eyebrow {
  font-size:calc(.65rem - 1px);
  letter-spacing:.13em;
}
}

.tn-mobile-auth-link,
.tn-mobile-signout {
  display:none;
}

@media(max-width:850px) {
.tn-mobile-signout {
  padding:10px 14px;
  border:1px solid #69437b;
  border-radius:7px;
  color:#ddd3e9;
  background:#211a35;
  font-size:calc(.86rem - 1px);
  font-weight:700;
}
}

.tn-page-content {
  flex:1 0 auto;
}

body :is(.tn-panel, .tn-panel-soft, .tn-card, .tn-stage, .tn-btn, .tn-header-search, .tn-category, button, select, input:not([type="checkbox"]):not([type="radio"]), textarea, [role="button"], [class*="rounded-"]:not(.rounded-none)) {
  border-radius: 7px !important;
}
