/**
 * "Describe your event" input + the venue / company pages' interest form, and
 * the "ready banks or a game written for your event" choice on the signed-in
 * /host builder (CRs req_azq3sreJspDP, req_24ePya1hMLhC). Solid brand
 * surfaces, ZERO gradients. Linked via @push('styles') only by the partials
 * that use it, so pages without them load nothing new. Built on the app tokens
 * in trivia-app.css and the .t1x- band / button classes in trivia-home.css.
 */

/* ---- Event input (band on the home page and the /host landing) ---- */
.t1x-event { text-align: center; }
.t1x-event-sub { margin: .8rem auto 0; max-width: 52ch; font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.8); }
.t1x-event-form { margin: 1.4rem auto 0; max-width: 46rem; text-align: left; }
.t1x-event-label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .45rem; color: var(--text-primary, #f1f1f1); }
.t1x-event-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.t1x-event-input { flex: 1 1 16rem; min-width: 0; padding: .8rem .95rem; border-radius: 11px; border: 2px solid var(--border-color, #2a2a4a); background: var(--bg-primary, #0f0f23); color: #fff; font-size: 1rem; }
.t1x-event-input::placeholder { color: rgba(255,255,255,.4); }
.t1x-event-input:focus { outline: none; border-color: var(--primary-color, #6366f1); }
.t1x-event-submit { flex: 0 0 auto; justify-content: center; margin: 0; }
.t1x-event-error { margin: .55rem 0 0; color: #fca5a5; font-size: .9rem; }
.t1x-event-note { margin: .7rem 0 0; font-size: .85rem; color: var(--text-secondary, #b0b0cc); }
.t1x-event-note a { color: #a5b4fc; }

/* Inside a content page (venue / company) the input sits in the page column,
   left-aligned, without the band padding. */
.t1x-event--inline { text-align: left; }
.t1x-event--inline .t1x-event-form { margin-left: 0; margin-right: 0; }

@media (max-width: 520px) {
    .t1x-event-submit { flex: 1 1 100%; }
}

/* ---- Interest form on the venue / company pages ---- */
.t1x-interest { background: var(--bg-secondary, #1a1a35); border: 1px solid var(--border-color, #2a2a4a); border-radius: 18px; padding: 1.5rem; }
.t1x-interest h2 { margin: 0 0 .35rem; font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; }
.t1x-interest-sub { margin: 0 0 1.1rem; color: var(--text-secondary, #b0b0cc); font-size: .95rem; line-height: 1.5; }
.t1x-interest-fields { display: grid; gap: .9rem; }
.t1x-interest-fields > div { min-width: 0; }
.t1x-interest-error { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 12px; background: rgba(239,68,68,.14); border: 1px solid rgba(239,68,68,.4); color: #fecaca; font-size: .9rem; }
.t1x-interest-error p { margin: .15rem 0; }
/* Honeypot — same off-screen treatment as the sign-up form's .t1x-hp
   (trivia-auth.css), repeated here because these pages do not load that file. */
.t1x-interest-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

/* ---- Page FAQ on the dark content pages ---- */
.t1x-pagefaq h2 { font-size: 1.25rem; margin: 0 0 .75rem; }

/* ---- Signed-in /host builder: ready banks or a game written for your event ---- */
.t1-host-choice { display: grid; grid-template-columns: 1fr; gap: .6rem; margin: 0 0 1rem; }
.t1-host-choice-opt { display: block; padding: .8rem .95rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: inherit; text-decoration: none; }
.t1-host-choice-opt strong { display: block; font-size: 14px; }
.t1-host-choice-opt span { display: block; margin-top: .2rem; font-size: 12.5px; line-height: 1.45; opacity: .75; }
.t1-host-choice-opt.is-current { border-color: rgba(99,102,241,.6); background: rgba(99,102,241,.12); }
a.t1-host-choice-opt:hover { border-color: rgba(255,255,255,.35); }
@media (min-width: 640px) {
    .t1-host-choice { grid-template-columns: 1fr 1fr; }
}

/* ---- First band for a visit an AI assistant sent (CR req_ioqGY2Z7oUn2) ----
   The input is the first thing on the home page and the /host landing; less
   padding so the field and its button sit above the fold on a phone. */
.t1x-band.t1x-event--first { padding-top: 1.4rem; padding-bottom: 1.6rem; }
.t1x-event--first .t1x-event-form { margin-top: 1rem; }
@media (max-width: 520px) {
    .t1x-event--first .t1x-sec-h { font-size: 1.35rem; }
    .t1x-event--first .t1x-event-sub { font-size: .92rem; margin-top: .5rem; }
}

/* ---- Company page: "Describe your team event" (CR req_StBPdHVKBaBk) ---- */
.t1x-event-hint { margin: 0 0 .5rem; font-size: .9rem; color: var(--text-secondary, #b0b0cc); }
.t1x-event-row--people { margin-top: .6rem; align-items: flex-end; }
.t1x-event-people { flex: 0 1 14rem; min-width: 0; }
.t1x-event-people .t1x-event-label { font-size: .9rem; }
.t1x-event-people .t1x-event-input { width: 100%; }
.t1x-event-optional { font-weight: 400; color: var(--text-secondary, #b0b0cc); }
.t1x-team-offer { margin-top: 1.1rem; }
.t1x-team-offer ul { margin: .35rem 0 .6rem; padding-left: 1.2rem; list-style: disc; }
.t1x-team-offer li { margin: .2rem 0; }
