/* Trendslive — Auth pages (Login + Signup) shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #root { min-height: 100vh; }
body { background: #0a0a0a; font-family: var(--tl-font-body); -webkit-font-smoothing: antialiased; color: #fff; }
button, input { font: inherit; }
input:focus { outline: none; }

/* ── Top bar ── */
.page-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-nav .brand-back {
  font-family: var(--tl-font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); text-decoration: none;
  transition: color 150ms ease;
}
.page-nav .brand-back:hover { color: var(--tl-yellow); }
.page-nav .nav-tabs { margin: 0 auto; display: flex; gap: 8px; }
.page-nav .tab {
  background: transparent; border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); padding: 7px 18px;
  border-radius: 999px; font-size: 11px; font-family: var(--tl-font-mono);
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  transition: all 150ms ease;
}
.page-nav .tab:hover { color: rgba(255,255,255,0.8); }
.page-nav .tab.active { background: var(--tl-yellow); color: #161920; font-weight: 700; border-color: var(--tl-yellow); }
.page-nav .admin-tab {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--tl-font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1); padding: 7px 14px; border-radius: 999px;
  transition: all 150ms ease;
}
.page-nav .admin-tab:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ── Split screen ── */
.split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; padding-top: 50px; }

/* ── Hero panel ── */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
.hero-chip {
  align-self: flex-start; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(249,235,6,0.12); border: 1px solid rgba(249,235,6,0.3);
  color: var(--tl-yellow); font-family: var(--tl-font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-head { font-family: var(--tl-font-display); font-size: 72px; line-height: 0.93; color: #fff; margin-bottom: 20px; }
.hero-head .y { color: var(--tl-yellow); }
.hero-sub { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 400px; margin-bottom: 32px; }
.trust-list { display: flex; flex-direction: column; gap: 12px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; background: rgba(249,235,6,0.12); border: 1px solid rgba(249,235,6,0.25); display: flex; align-items: center; justify-content: center; color: var(--tl-yellow); }
.trust-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-text .t { font-size: 13px; font-weight: 600; color: #fff; }
.trust-text .s { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 1px; }
.hero-social { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.hero-social .avatars { display: flex; }
.hero-social .avatars .av { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #0a0a0a; margin-left: -8px; background: linear-gradient(135deg, #4a4732, #22194e); }
.hero-social .avatars .av:first-child { margin-left: 0; }
.hero-social .count { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; }
.hero-social .count span { color: var(--tl-yellow); font-weight: 700; }
.feat-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.feat-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.75); }
.feat-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-check svg { width: 10px; height: 10px; stroke: #22c55e; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── Form panel ── */
.form-panel { background: #0a0a0a; padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; gap: 28px; overflow-y: auto; }
.form-brand { font-family: var(--tl-font-display); font-size: 26px; color: var(--tl-yellow); letter-spacing: 0.02em; margin-bottom: 18px; }
.form-h1 { font-family: var(--tl-font-app); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: #fff; }
.form-sub { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.role-tabs { display: flex; background: #131316; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 4px; gap: 4px; }
.role-tabs button { flex: 1; padding: 10px 16px; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: rgba(255,255,255,0.4); transition: all 180ms ease; }
.role-tabs button.active { background: var(--tl-yellow); color: #161920; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--tl-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; background: #131316; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 13px 16px; font-size: 14px; color: #fff; transition: border-color 150ms ease, box-shadow 150ms ease; }
.input-wrap input::placeholder { color: rgba(255,255,255,0.2); }
.input-wrap input:focus { border-color: var(--tl-yellow); box-shadow: 0 0 0 3px rgba(249,235,6,0.12); }
.input-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.3); cursor: pointer; }
.input-wrap .icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.input-wrap .iico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.25); }
.input-wrap .iico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.input-wrap input.has-icon { padding-left: 44px; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }
.check-row input[type=checkbox] { accent-color: var(--tl-yellow); width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.check-row a { color: var(--tl-yellow); text-decoration: none; }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.btn-cta { width: 100%; padding: 15px; border: none; border-radius: 999px; background: var(--tl-yellow); color: #161920; font-family: var(--tl-font-app); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 0 28px rgba(249,235,6,0.35); transition: all 180ms ease; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-cta:hover { box-shadow: 0 0 40px rgba(249,235,6,0.55); transform: translateY(-1px); }
.btn-cta:active { transform: scale(0.98); }
.link-row { text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }
.link-row a, .link-row button { color: var(--tl-yellow); text-decoration: none; font-weight: 600; background: none; border: none; cursor: pointer; font: inherit; }
.divider { display: flex; align-items: center; gap: 14px; font-family: var(--tl-font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.oauth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.oauth-grid.two { grid-template-columns: repeat(2, 1fr); }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #131316; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); padding: 12px 10px; border-radius: 10px; font-size: 13px; cursor: pointer; transition: all 150ms ease; }
.oauth-btn:hover { border-color: rgba(255,255,255,0.25); color: #fff; background: #1a1a1f; }
.oauth-btn svg { width: 16px; height: 16px; }
.forgot-link { background: none; border: none; cursor: pointer; font-family: var(--tl-font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tl-yellow); }

/* Admin login button (login form) */
.admin-login {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 13px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px dashed rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.6); font-family: var(--tl-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 150ms ease;
}
.admin-login:hover { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); }
.admin-login svg { width: 16px; height: 16px; }

/* ── Verify Page ── */
.verify-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px 40px; background: radial-gradient(ellipse at 50% 0%, rgba(249,235,6,0.06) 0%, transparent 60%); }
.verify-card { width: 100%; max-width: 520px; background: #0e0e10; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; }
.verify-card-head { padding: 28px 32px 24px; background: linear-gradient(135deg, #131316 0%, #0e0e10 100%); border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.verify-card-head::before { content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(249,235,6,0.08) 0%, transparent 70%); }
.verify-brand { font-family: var(--tl-font-display); font-size: 22px; color: var(--tl-yellow); margin-bottom: 14px; }
.verify-h { font-family: var(--tl-font-app); font-weight: 700; font-size: 22px; line-height: 1.2; color: #fff; }
.verify-card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
.verify-copy { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.55); }
.verify-copy strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.verify-btn { width: 100%; padding: 14px; border: none; border-radius: 10px; background: var(--tl-yellow); color: #161920; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 0 24px rgba(249,235,6,0.3); }
.verify-expire { font-size: 12px; color: rgba(255,255,255,0.3); text-align: center; }
.verify-support { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.55; }
.verify-support a { color: var(--tl-yellow); text-decoration: none; }
.verify-divider { height: 1px; background: rgba(255,255,255,0.06); }
.verify-socials { display: flex; justify-content: center; gap: 16px; }
.verify-socials a { color: rgba(255,255,255,0.3); transition: color 150ms ease; }
.verify-socials a:hover { color: rgba(255,255,255,0.7); }
.verify-socials svg { width: 18px; height: 18px; fill: currentColor; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.verify-status.pending { background: rgba(249,235,6,0.1); border: 1px solid rgba(249,235,6,0.2); color: var(--tl-yellow); }
.verify-back { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 13px; cursor: pointer; margin-top: 16px; }
.verify-back:hover { color: rgba(255,255,255,0.7); }

/* ── Success state ── */
.success-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px 40px; background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.06) 0%, transparent 55%); }
.success-card { width: 100%; max-width: 480px; background: #0e0e10; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 48px 40px; text-align: center; }
.success-icon-wrap { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 28px; background: rgba(34,197,94,0.12); border: 2px solid rgba(34,197,94,0.3); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 32px rgba(34,197,94,0.2); }
.success-icon-wrap svg { width: 36px; height: 36px; stroke: #22c55e; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-h { font-family: var(--tl-font-app); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.success-sub { font-size: 14px; color: #22c55e; font-weight: 600; margin-bottom: 24px; }
.success-copy { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); text-align: left; background: #131316; border-radius: 12px; padding: 18px 20px; margin-bottom: 28px; }
.success-copy strong { color: rgba(255,255,255,0.8); }
.success-btn { width: 100%; padding: 14px; border: none; border-radius: 999px; background: #131316; border: 1px solid rgba(255,255,255,0.15); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 150ms ease; margin-top: 4px; }
.success-btn.primary { background: var(--tl-yellow); color: #161920; border: none; box-shadow: 0 0 24px rgba(249,235,6,0.3); }
.success-btn.primary:hover { box-shadow: 0 0 36px rgba(249,235,6,0.5); }
.success-btn + .success-btn { margin-top: 12px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.dot.active { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

/* ── Welcome modal ── */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.75); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal { width: 100%; max-width: 500px; background: #0e0e10; border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 44px 40px; text-align: center; animation: modal-in 400ms cubic-bezier(.16,1,.3,1); }
@keyframes modal-in { from { opacity: 0; transform: scale(.92) translateY(16px); } to { opacity: 1; transform: none; } }
.modal-icon { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 28px; display: flex; align-items: center; justify-content: center; position: relative; }
.modal-icon.customer { background: radial-gradient(circle, rgba(249,235,6,0.15), rgba(249,235,6,0.04)); border: 1px solid rgba(249,235,6,0.2); }
.modal-icon.organiser { background: radial-gradient(circle, rgba(34,197,94,0.15), rgba(34,197,94,0.04)); border: 1px solid rgba(34,197,94,0.2); }
.modal-icon svg { width: 44px; height: 44px; }
.modal-icon .badge { position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; border-radius: 50%; background: #22c55e; border: 3px solid #0e0e10; display: flex; align-items: center; justify-content: center; }
.modal-icon .badge svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.modal-h { font-family: var(--tl-font-app); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: rgba(255,255,255,0.45); margin-bottom: 28px; line-height: 1.5; }
.modal-features { background: #131316; border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 20px; margin-bottom: 28px; text-align: left; }
.modal-features-h { font-family: var(--tl-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.modal-feat { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.modal-feat:last-child { border: none; padding-bottom: 0; }
.modal-feat .ico { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-feat .ico svg { width: 15px; height: 15px; stroke: var(--tl-yellow); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modal-feat.org .ico svg { stroke: #22c55e; }
.modal-feat-text .t { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.modal-feat-text .s { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 1px; }
.modal-cta { width: 100%; padding: 15px; border: none; border-radius: 999px; font-family: var(--tl-font-app); font-weight: 700; font-size: 15px; cursor: pointer; transition: all 180ms ease; }
.modal-cta.primary { background: var(--tl-yellow); color: #161920; box-shadow: 0 0 28px rgba(249,235,6,0.3); margin-bottom: 12px; }
.modal-cta.primary.green { background: #22c55e; box-shadow: 0 0 28px rgba(34,197,94,0.3); }
.modal-cta.primary:hover { transform: translateY(-1px); }
.modal-cta.secondary { background: transparent; border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); }
.modal-confetti { font-size: 28px; margin-bottom: 4px; }
.modal-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.06); border: none; border-radius: 50%; width: 32px; height: 32px; color: rgba(255,255,255,0.4); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .hero { display: none; }
  .hero-head { font-size: 54px; }
}

/* Trendslive — role tabs rendered as <label> (hidden radio) so account_type
   submits with the form; mirror the .role-tabs button styling. */
.role-tabs label { flex: 1; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: rgba(255,255,255,0.4); text-align: center; transition: all 180ms ease; margin: 0; }
.role-tabs label.active { background: var(--tl-yellow); color: #161920; font-weight: 700; }

/* Trendslive — keep browser-autofilled inputs on the dark theme (Chrome forces
   a light background otherwise). */
.input-wrap input:-webkit-autofill,
.input-wrap input:-webkit-autofill:hover,
.input-wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #131316 inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}
/* password field with both a left lock icon and a right eye toggle */
.input-wrap input.has-icon.has-eye { padding-right: 44px; }

/* Trendslive — our auth forms wrap the fields in a <form> (needed for Laravel).
   Make the form "pass through" so its fields become direct flex children of
   .form-panel again and inherit the exact 28px prototype spacing. */
.form-panel form { display: contents; }
