:root {
  color-scheme: light;
  --green-900: #062016;
  --green-800: #0d3325;
  --green-700: #14543a;
  --green-100: #e9f6ef;
  --gold: #f6c453;
  --cream: #fffaf0;
  --ink: #102019;
  --muted: #65746d;
  --danger: #b42318;
  --success: #0f7a43;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.upload-page {
  background:
    radial-gradient(circle at top left, rgba(246, 196, 83, 0.28), transparent 32rem),
    linear-gradient(145deg, var(--green-900), var(--green-700));
  color: var(--ink);
  padding: max(18px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));
}

.phone-shell {
  margin: 0 auto;
  max-width: 520px;
}

.card {
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 24px;
}

.hero-card {
  overflow: hidden;
  padding: 18px 20px;
  position: relative;
}

.hero-card::after {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  height: 120px;
  opacity: 0.18;
  position: absolute;
  right: -45px;
  top: -45px;
  width: 120px;
}

.hero-card.compact {
  text-align: center;
}

.logo {
  display: block;
  height: auto;
  max-height: 74px;
  max-width: 180px;
  object-fit: contain;
}

.logo-card {
  background: white;
  border: 2px solid rgba(20, 84, 58, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(6, 32, 22, 0.12);
  padding: 8px;
}

.logo-fallback {
  color: var(--green-800);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.eyebrow {
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 14px 0 6px;
  text-transform: uppercase;
}

h1 {
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0;
}

.hero-card h1 {
  color: var(--green-900);
  font-size: clamp(1.55rem, 6.6vw, 2.3rem);
  margin-top: 12px;
  max-width: none;
}

.compact h1 {
  max-width: none;
}

.intro {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 10px 0 0;
}

.messages {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.message {
  border-radius: 18px;
  color: white;
  font-weight: 800;
  padding: 14px 16px;
}

.message.success {
  background: var(--success);
}

.message.error {
  background: var(--danger);
}

.upload-form {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

label,
.file-picker {
  display: grid;
  gap: 8px;
}

label span,
.file-picker span {
  color: var(--green-800);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
button {
  border: 0;
  border-radius: 18px;
  font: inherit;
  min-height: 58px;
  width: 100%;
}

input,
select {
  background: white;
  box-shadow: inset 0 0 0 2px rgba(20, 84, 58, 0.12);
  color: var(--ink);
  font-size: 1.05rem;
  padding: 0 16px;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 4px solid rgba(246, 196, 83, 0.55);
}

.file-picker {
  background: var(--green-100);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.file-picker-label {
  color: var(--green-800);
  font-size: 0.92rem;
  font-weight: 900;
}

.photo-actions {
  display: grid;
  gap: 12px;
}

.hidden-file-input {
  height: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 0;
}

.photo-btn {
  align-items: center;
  background: white;
  border: 2px solid rgba(20, 84, 58, 0.18);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(6, 32, 22, 0.12);
  color: var(--green-900);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 14px;
  margin: 0;
  min-height: 80px;
  padding: 14px 16px;
  text-align: left;
  transition: transform 120ms ease, box-shadow 120ms ease, background 160ms ease;
  width: 100%;
}

.photo-btn:active {
  transform: scale(0.98);
}

.photo-btn:focus-visible {
  outline: 4px solid rgba(246, 196, 83, 0.55);
}

.photo-btn-icon {
  align-items: center;
  background: var(--green-100);
  border-radius: 14px;
  color: var(--green-800);
  display: inline-flex;
  flex: 0 0 auto;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.photo-btn-icon svg {
  height: 28px;
  width: 28px;
}

.photo-btn-text {
  display: grid;
  gap: 2px;
}

.photo-btn-title {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.photo-btn-sub {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.78;
}

.photo-status {
  background: white;
  border-radius: 14px;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  padding: 12px 14px;
  text-align: center;
}

.photo-status.has-photo {
  background: var(--green-800);
  color: white;
}

.photo-hint {
  color: var(--muted);
  text-align: center;
}

.preview {
  border-radius: 20px;
  max-height: 280px;
  object-fit: cover;
  width: 100%;
}

button {
  background: linear-gradient(135deg, var(--gold), #ffe39a);
  color: var(--green-900);
  cursor: pointer;
  font-weight: 950;
  padding: 0 18px;
}

.admin-link {
  color: white;
  display: block;
  font-weight: 800;
  margin: 18px auto 0;
  opacity: 0.78;
  text-align: center;
  text-decoration: none;
}

.uploading-overlay {
  background: rgba(6, 32, 22, 0.96);
  color: white;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 280ms ease;
  z-index: 100;
}

.uploading-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.uploading-content {
  align-items: center;
  display: grid;
  gap: 18px;
  height: 100%;
  justify-items: center;
  padding: 24px;
  place-content: center;
  text-align: center;
}

.uploading-spinner {
  animation: golf-spin 850ms linear infinite;
  border: 6px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  border-top-color: var(--gold);
  height: 64px;
  width: 64px;
}

.uploading-content h2 {
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 0;
}

.uploading-content p {
  font-size: 1.15rem;
  margin: 0;
  opacity: 0.86;
}

@keyframes golf-spin {
  to {
    transform: rotate(360deg);
  }
}

.slideshow-page {
  background: #020604;
  color: white;
  height: 100vh;
  overflow: hidden;
}

.stage {
  background:
    radial-gradient(circle at bottom left, rgba(246, 196, 83, 0.13), transparent 32rem),
    #020604;
  height: 100vh;
  position: relative;
  width: 100vw;
}

.slide-image {
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 450ms ease;
  width: 100%;
}

.slide-image.fading {
  opacity: 0;
}

.caption {
  align-items: end;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
  bottom: 0;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  left: 0;
  padding: 22vh 5vw 6vh;
  position: absolute;
  right: 0;
}

.caption-label {
  color: var(--gold);
  font-size: clamp(1rem, 1.7vw, 1.7rem);
  font-weight: 950;
  letter-spacing: 0.18em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.caption h1 {
  font-size: clamp(4rem, 8vw, 9rem);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.caption-emotion {
  color: white;
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 14px 0 0;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.caption-emotion::before {
  background: rgba(246, 196, 83, 0.96);
  border-radius: 999px;
  color: var(--green-900);
  content: "Emotion";
  display: inline-block;
  font-size: 0.6em;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin-right: 0.6em;
  padding: 0.25em 0.9em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hole-badge {
  background: rgba(246, 196, 83, 0.96);
  border-radius: 999px;
  color: var(--green-900);
  flex: 0 0 auto;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 1000;
  padding: 0.28em 0.7em;
}

.empty-state {
  left: 50%;
  max-width: 720px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(86vw, 720px);
}

.empty-state .logo {
  margin: 0 auto 32px;
  max-height: 150px;
  max-width: 340px;
}

.empty-state h1 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.empty-state p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.slideshow-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  opacity: 0.22;
  padding: 24px 32px;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 180ms ease;
}

.slideshow-topbar:hover {
  opacity: 1;
}

.slideshow-topbar img {
  max-height: 54px;
  max-width: 170px;
  object-fit: contain;
}

.slideshow-topbar form {
  margin: 0;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.slideshow-topbar button {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  min-height: 42px;
  width: auto;
}

.topbar-icon-btn {
  align-items: center;
  background: rgba(180, 35, 24, 0.92);
  border-radius: 999px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  width: 44px;
}

.topbar-icon-btn:hover,
.topbar-icon-btn:focus-visible {
  background: rgb(180, 35, 24);
}

.topbar-icon-btn svg {
  height: 22px;
  width: 22px;
}

@media (max-width: 760px) {
  .caption {
    align-items: start;
    flex-direction: column;
  }
}

.rota-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 255, 63, 0.45), transparent 16rem),
    radial-gradient(circle at 86% 2%, rgba(0, 196, 159, 0.42), transparent 18rem),
    linear-gradient(150deg, #06231f, #075f56 54%, #c8f73b);
  color: #102019;
  min-height: 100vh;
  padding: max(18px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

.rota-shell {
  margin: 0 auto;
  max-width: 540px;
}

.rota-hero,
.rota-card {
  background: rgba(255, 255, 247, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.27);
}

.rota-hero {
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.rota-hero::after {
  background: rgba(201, 255, 48, 0.42);
  border-radius: 999px;
  content: "";
  height: 150px;
  position: absolute;
  right: -54px;
  top: -52px;
  width: 150px;
}

.pickleball-mark {
  background: #d7ff38;
  border: 5px solid #f7ffd0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(4, 68, 58, 0.24);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 10px);
  height: 86px;
  padding: 20px 16px;
  position: relative;
  width: 86px;
  z-index: 1;
}

.pickleball-mark span {
  background: rgba(6, 35, 31, 0.42);
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.pickleball-mark span:nth-child(2),
.pickleball-mark span:nth-child(4) {
  transform: translateY(12px);
}

.rota-eyebrow {
  color: #087162;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin: 18px 0 8px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.rota-hero h1 {
  color: #06231f;
  font-size: clamp(2.2rem, 11vw, 4rem);
  line-height: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
}

.rota-intro {
  color: #52625d;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 16px 0 0;
  position: relative;
  z-index: 1;
}

.rota-card {
  margin-top: 16px;
  padding: 22px;
}

.rota-form {
  display: grid;
  gap: 16px;
}

.rota-form label {
  display: grid;
  gap: 8px;
}

.rota-form label span {
  color: #06443a;
  font-size: 0.9rem;
  font-weight: 950;
}

.rota-form input,
.rota-form select {
  box-shadow: inset 0 0 0 2px rgba(8, 113, 98, 0.14);
}

.rota-form input:focus,
.rota-form select:focus,
.rota-form button:focus-visible {
  outline: 4px solid rgba(215, 255, 56, 0.62);
}

.phone-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.rota-or,
.privacy-note {
  color: #52625d;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.rota-form button {
  background: linear-gradient(135deg, #d7ff38, #54e3bf);
  color: #06231f;
  margin-top: 4px;
}

.rota-thanks {
  text-align: center;
}

.thanks-icon {
  align-items: center;
  background: #d7ff38;
  border-radius: 999px;
  color: #06231f;
  display: inline-flex;
  font-size: 2rem;
  font-weight: 1000;
  height: 70px;
  justify-content: center;
  width: 70px;
}

.rota-thanks h2 {
  color: #06231f;
  font-size: clamp(2rem, 9vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 18px 0 8px;
}

.rota-thanks p {
  color: #52625d;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 420px) {
  .phone-grid {
    grid-template-columns: 1fr;
  }
}

/* End of Summer Fiesta */
.fiesta-page {
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 190, 33, 0.42), transparent 24rem),
    radial-gradient(circle at 94% 28%, rgba(239, 73, 14, 0.34), transparent 28rem),
    linear-gradient(155deg, #071d49 0%, #0d326b 46%, #ed4b0b 130%);
  color: #10234a;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  padding: max(16px, env(safe-area-inset-top)) 14px max(34px, env(safe-area-inset-bottom));
}

.fiesta-shell {
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
}

.fiesta-language {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.fiesta-language label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.fiesta-language span {
  color: #ffc629;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fiesta-language select {
  background: rgba(255, 250, 240, 0.95);
  border: 2px solid #ffc629;
  border-radius: 999px;
  color: #071d49;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 38px;
  padding: 6px 30px 6px 12px;
}

.fiesta-community-other {
  grid-column: 1 / -1;
}

.fiesta-community-other[hidden] {
  display: none !important;
}

.fiesta-community-other input {
  width: 100%;
}

.fiesta-hero {
  background: #ff9d0b;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(0, 8, 34, 0.38);
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.fiesta-hero-copy {
  background:
    radial-gradient(circle at 18% 80%, rgba(255, 241, 137, 0.4), transparent 42%),
    linear-gradient(90deg, rgba(255, 155, 9, 0.92), rgba(255, 176, 15, 0.72) 62%, transparent);
  min-height: 430px;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  width: 58%;
  z-index: 1;
}

.fiesta-hero-copy::after {
  background: #071d49;
  clip-path: polygon(50% 0, 61% 34%, 98% 23%, 70% 50%, 98% 77%, 61% 66%, 50% 100%, 39% 66%, 2% 77%, 30% 50%, 2% 23%, 39% 34%);
  content: "";
  height: 54px;
  opacity: 0.12;
  position: absolute;
  right: 22px;
  top: 20px;
  width: 54px;
}

.fiesta-kicker,
.fiesta-section-label {
  color: #e64a0a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.fiesta-hero .fiesta-kicker {
  color: #071d49;
  font-size: 1rem;
}

.fiesta-hero h1 {
  color: #071d49;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.7rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.78;
  margin: 12px 0 22px;
  text-transform: uppercase;
}

.fiesta-date {
  background: #071d49;
  color: #ffe234;
  display: inline-flex;
  flex-wrap: wrap;
  font-weight: 900;
  gap: 5px;
  margin: 0;
  padding: 9px 13px;
}

.fiesta-date span {
  color: #fff9e8;
}

.fiesta-tagline {
  color: #071d49;
  font-size: 0.95rem;
  font-weight: 900;
  margin: 15px 0 0;
  text-transform: uppercase;
}

.fiesta-art {
  background: #f79508;
  inset: 0;
  position: absolute;
}

.fiesta-art img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.fiesta-panel {
  background: rgba(255, 250, 232, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(0, 8, 34, 0.28);
  margin-top: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.fiesta-panel h2,
.fiesta-panel h3 {
  color: #071d49;
  margin: 0;
}

.fiesta-panel h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
}

.fiesta-phone-step h2 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
}

.fiesta-panel > p:not(.fiesta-section-label) {
  color: #5b6478;
  font-weight: 700;
  line-height: 1.55;
}

.fiesta-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.fiesta-phone-grid,
.fiesta-field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fiesta-page label {
  display: grid;
  gap: 7px;
}

.fiesta-page label > span:first-child,
.fiesta-page legend {
  color: #10234a;
  font-size: 0.86rem;
  font-weight: 900;
}

.fiesta-page input,
.fiesta-page select {
  background: #fff;
  border: 1px solid #c5c9d1;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(7, 29, 73, 0.04);
  color: #10234a;
  font: inherit;
  min-height: 50px;
  padding: 11px 13px;
  width: 100%;
}

.fiesta-page input:focus,
.fiesta-page select:focus,
.fiesta-page button:focus-visible,
.fiesta-page a:focus-visible {
  outline: 4px solid rgba(255, 185, 20, 0.58);
  outline-offset: 2px;
}

.fiesta-page input::placeholder {
  color: #d4d8df;
  opacity: 0.62;
}

.fiesta-primary,
.fiesta-outline,
.fiesta-add,
.fiesta-match-list button {
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 52px;
  padding: 13px 18px;
}

.fiesta-primary {
  background: linear-gradient(135deg, #ffb914, #f15a0c);
  box-shadow: 0 10px 22px rgba(226, 72, 6, 0.24);
  color: #071d49;
  width: 100%;
}

.fiesta-primary:hover,
.fiesta-add:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.fiesta-primary:disabled,
.fiesta-add:disabled {
  cursor: wait;
  filter: grayscale(0.5);
  opacity: 0.72;
  transform: none;
}

.fiesta-match-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 12px;
}

.fiesta-match-list button {
  align-items: center;
  background: #071d49;
  color: #fff;
  display: flex;
  justify-content: space-between;
  text-align: left;
  width: 100%;
}

.fiesta-match-list button span {
  font-size: 1.05rem;
}

.fiesta-match-list button strong {
  color: #ffe234;
  font-size: 0.82rem;
}

.fiesta-outline,
.fiesta-add {
  background: #fff;
  border: 2px solid #f05a0b;
  color: #d94508;
  width: 100%;
}

.fiesta-text-link,
.fiesta-secondary-link {
  color: #0c448a;
  display: inline-block;
  font-weight: 900;
  margin-top: 18px;
}

.fiesta-signup-intro {
  align-items: start;
  display: grid;
  gap: 12px 22px;
  grid-template-columns: 1fr auto;
}

.fiesta-signup-intro > p:last-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.fiesta-shared-phone {
  background: #071d49;
  border-radius: 14px;
  color: white;
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  text-align: right;
}

.fiesta-shared-phone span {
  color: #ffc629;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fiesta-registration,
.fiesta-people {
  display: grid;
  gap: 16px;
}

.fiesta-person {
  scroll-margin-top: 12px;
}

.fiesta-person-heading {
  align-items: center;
  border-bottom: 2px solid #f2d99c;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.fiesta-person-heading h3 {
  font-size: 1.45rem;
}

.fiesta-remove {
  background: transparent;
  border: 0;
  color: #b9380a;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.fiesta-choices {
  border: 0;
  margin: 24px 0 16px;
  padding: 0;
}

.fiesta-choices legend {
  margin-bottom: 10px;
}

.fiesta-event-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fiesta-afternoon-events {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.fiesta-kids-count {
  background: #fff0f6;
  border: 1px solid #e7b7ca;
  border-radius: 14px;
  margin-top: 10px;
  padding: 14px;
}

.fiesta-kids-count[hidden] {
  display: none;
}

.fiesta-choice {
  align-items: center;
  background: #fff;
  border: 2px solid #e0d9c9;
  border-radius: 14px;
  cursor: pointer;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 24px 1fr;
  padding: 12px;
}

.fiesta-choice:has(input:checked) {
  background: #fff3bd;
  border-color: #f05a0b;
}

.fiesta-choice input {
  accent-color: #e84c09;
  box-shadow: none;
  height: 21px;
  min-height: 0;
  padding: 0;
  width: 21px;
}

.fiesta-choice > span {
  display: grid;
  gap: 3px;
}

.fiesta-choice small {
  color: #626a79;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.fiesta-choice .fiesta-event-description {
  border-top: 1px solid #e4ded1;
  color: #454f61;
  margin-top: 5px;
  padding-top: 7px;
}

.fiesta-stall {
  background: #fff8dc;
  margin-top: 10px;
}

.fiesta-stall-lead::before {
  color: #f26522;
  content: "★";
  font-size: 0.62rem;
  margin-right: 2px;
}

.fiesta-awards {
  background: #eaf4ff;
  border-color: #90b7df;
  margin-bottom: 10px;
}

.fiesta-awards:has(input:checked) {
  background: #dceeff;
  border-color: #0c5ea8;
}

.fiesta-awards em,
.fiesta-event-grid em {
  background: #0c5ea8;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.06em;
  margin-left: 6px;
  padding: 3px 7px;
  text-transform: uppercase;
  vertical-align: 2px;
}

.fiesta-food-booth {
  background: #eff8e8;
  margin-top: 10px;
}

.fiesta-food-booth:has(input:checked) {
  background: #e1f3d5;
  border-color: #3f7a2e;
}

.fiesta-food-booth em {
  background: #3f7a2e;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.06em;
  margin-left: 6px;
  padding: 3px 7px;
  text-transform: uppercase;
  vertical-align: 2px;
}

.fiesta-food-cuisine {
  background: #f7fbf3;
  border: 1px solid #c8ddb9;
  border-radius: 14px;
  margin-top: 10px;
  padding: 14px;
}

.fiesta-food-cuisine[hidden] {
  display: none;
}

.fiesta-raffle,
.fiesta-donations {
  background: #fff8e8;
  border: 1px solid #ead7a7;
  border-radius: 14px;
  margin-top: 10px;
  padding: 14px;
}

.fiesta-raffle select {
  width: 100%;
}

.fiesta-raffle > small {
  color: #737985;
  font-weight: 700;
}

.fiesta-donations small {
  color: #737985;
  font-weight: 700;
}

.fiesta-person-total {
  color: #596274;
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 17px;
  text-align: right;
}

.fiesta-person-total strong {
  color: #071d49;
  font-size: 1.25rem;
  margin-left: 6px;
}

.fiesta-consent {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.fiesta-consent details {
  background: #fff;
  border: 1px solid #d8d2c4;
  border-radius: 14px;
  overflow: hidden;
}

.fiesta-consent summary {
  color: #0c448a;
  cursor: pointer;
  font-weight: 900;
  padding: 15px;
}

.fiesta-consent-text {
  border-top: 1px solid #e4ded0;
  color: #596274;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 4px 16px 16px;
}

.fiesta-consent-text h3 {
  font-size: 1.15rem;
  margin-top: 16px;
}

.fiesta-consent-text ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.fiesta-consent-check {
  align-items: start;
  background: #fff3bd;
  border: 2px solid #e0b22d;
  border-radius: 14px;
  cursor: pointer;
  display: grid !important;
  gap: 11px !important;
  grid-template-columns: 24px 1fr;
  padding: 14px;
}

.fiesta-consent-check input {
  accent-color: #e84c09;
  box-shadow: none;
  height: 21px;
  min-height: 0;
  padding: 0;
  width: 21px;
}

.fiesta-consent-check span {
  color: #28354d !important;
  font-size: 0.84rem !important;
  line-height: 1.45;
}

.fiesta-submit-panel {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr minmax(220px, 0.7fr);
  margin-top: 0;
}

.fiesta-submit-panel > div {
  display: grid;
}

.fiesta-submit-panel span,
.fiesta-submit-panel small {
  color: #656d7b;
  font-size: 0.78rem;
  font-weight: 800;
}

.fiesta-submit-panel strong {
  color: #071d49;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.fiesta-thanks {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
  text-align: center;
}

.fiesta-sun {
  align-items: center;
  background: linear-gradient(135deg, #ffe234, #f05a0b);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(218, 67, 6, 0.25);
  color: #071d49;
  display: inline-flex;
  font-size: 2.2rem;
  font-weight: 900;
  height: 78px;
  justify-content: center;
  margin-bottom: 18px;
  width: 78px;
}

.fiesta-confirmation-names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.fiesta-confirmation-names span {
  background: #071d49;
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 12px;
}

.fiesta-grand-total {
  background: #fff1b1;
  border-radius: 14px;
  color: #5c4b19;
  font-weight: 800;
  padding: 14px;
}

.fiesta-grand-total strong {
  color: #071d49;
  font-size: 1.3rem;
  margin-left: 6px;
}

.fiesta-payment-reference {
  background: #071d49;
  border: 3px solid #ffc629;
  border-radius: 16px;
  color: #fff;
  display: grid;
  gap: 5px;
  margin: 14px 0;
  padding: 16px;
}

.fiesta-payment-reference span {
  color: #ffc629;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fiesta-payment-reference strong {
  font-size: clamp(1.8rem, 7vw, 2.7rem);
  letter-spacing: 0.08em;
}

.fiesta-payment-methods {
  margin: 22px 0 12px;
  text-align: left;
}

.fiesta-payment-methods h3 {
  color: #071d49;
  font-size: 1.35rem;
  margin: 0 0 10px;
  text-align: center;
}

.fiesta-payment-methods > div {
  display: grid;
  gap: 10px;
}

.fiesta-payment-methods article {
  background: #fff;
  border: 1px solid #ddd6c6;
  border-left: 5px solid #f05a0b;
  border-radius: 13px;
  padding: 13px 14px;
}

.fiesta-payment-methods h4 {
  color: #071d49;
  font-size: 1rem;
  margin: 0 0 5px;
}

.fiesta-payment-methods article p {
  color: #5d6678;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  white-space: pre-line;
}

.fiesta-payment-instructions {
  color: #434e64;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
}

.fiesta-small {
  font-size: 0.86rem;
}

.fiesta-thanks-actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px 22px;
  justify-content: center;
}

.fiesta-thanks-actions form {
  margin: 0;
}

.fiesta-thanks-actions button.fiesta-secondary-link {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.fiesta-messages {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .fiesta-hero {
    min-height: 500px;
  }

  .fiesta-hero-copy {
    min-height: 500px;
    width: 100%;
  }

  .fiesta-art img {
    object-position: center;
  }

  .fiesta-hero:not(.fiesta-hero--phone),
  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-hero-copy {
    min-height: 210px;
  }

  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-hero-copy {
    background: linear-gradient(90deg, rgba(255, 145, 5, 0.94), rgba(255, 174, 12, 0.62), transparent 82%);
    padding: 22px;
  }

  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-kicker,
  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-date,
  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-tagline {
    display: none;
  }

  .fiesta-hero:not(.fiesta-hero--phone) h1 {
    font-size: clamp(2.7rem, 10vw, 4rem);
    margin: 0;
    max-width: 55%;
  }

  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-art img {
    object-position: center 58%;
  }

  .fiesta-field-grid,
  .fiesta-event-grid {
    grid-template-columns: 1fr;
  }

  .fiesta-submit-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .fiesta-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .fiesta-hero,
  .fiesta-panel {
    border-radius: 20px;
  }

  .fiesta-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.6rem);
  }

  .fiesta-hero-copy {
    background: linear-gradient(180deg, rgba(255, 132, 4, 0.9), rgba(255, 170, 12, 0.48) 38%, transparent 63%);
    padding: 25px 22px;
  }

  .fiesta-hero:not(.fiesta-hero--phone),
  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-hero-copy {
    min-height: 180px;
  }

  .fiesta-hero:not(.fiesta-hero--phone) .fiesta-hero-copy {
    background: linear-gradient(90deg, rgba(255, 145, 5, 0.94), rgba(255, 174, 12, 0.55), transparent 88%);
    padding: 18px;
  }

  .fiesta-hero:not(.fiesta-hero--phone) h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    max-width: 62%;
  }

  .fiesta-tagline {
    max-width: 260px;
  }

  .fiesta-phone-step h2 {
    font-size: clamp(2rem, 8vw, 2.7rem);
    overflow-wrap: anywhere;
  }

  .fiesta-phone-grid,
  .fiesta-signup-intro {
    grid-template-columns: 1fr;
  }

  .fiesta-shared-phone {
    text-align: left;
  }

  .fiesta-match-list button {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .fiesta-choice {
    padding: 11px;
  }
}

/* Fiesta photo sharing */
.fiesta-photo-shell {
  max-width: 980px;
}

.fiesta-photo-header,
.fiesta-photo-gallery-header {
  align-items: center;
  background: rgba(255, 250, 232, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 26px;
  box-shadow: 0 24px 64px rgba(0, 8, 34, 0.34);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 42%) 1fr;
  overflow: hidden;
}

.fiesta-photo-header > img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  width: 100%;
}

.fiesta-photo-header > div,
.fiesta-photo-gallery-header > div {
  padding: clamp(22px, 4vw, 42px);
}

.fiesta-photo-header h1,
.fiesta-photo-gallery-header h1 {
  color: #071d49;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.88;
  margin: 0;
  text-transform: uppercase;
}

.fiesta-photo-header p:last-child,
.fiesta-photo-gallery-header p:last-child {
  color: #5b6478;
  font-weight: 700;
  line-height: 1.5;
  margin: 16px 0 0;
}

.fiesta-photo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 14px 0;
}

.fiesta-photo-nav a {
  background: rgba(255, 250, 232, 0.94);
  border: 2px solid transparent;
  border-radius: 999px;
  color: #0c448a;
  font-weight: 900;
  padding: 10px 16px;
  text-decoration: none;
}

.fiesta-photo-nav a.is-current {
  background: #ffc629;
  color: #071d49;
}

.fiesta-photo-upload-form {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 680px;
}

.fiesta-photo-upload-form label small {
  color: #687286;
  font-weight: 700;
}

.fiesta-photo-picker {
  background: #fff3bd;
  border: 2px dashed #ed6a12;
  border-radius: 18px;
  display: grid;
  gap: 12px;
  padding: 18px;
  text-align: center;
}

.fiesta-photo-select {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 15px;
  color: #071d49;
  cursor: pointer;
  display: grid;
  gap: 3px;
  grid-template-columns: auto 1fr;
  min-height: 82px;
  padding: 14px 18px;
  text-align: left;
  width: 100%;
}

.fiesta-photo-select > span {
  align-items: center;
  background: #ffc629;
  border-radius: 50%;
  display: flex;
  font-size: 1.7rem;
  grid-row: 1 / 3;
  height: 48px;
  justify-content: center;
  margin-right: 10px;
  width: 48px;
}

.fiesta-photo-select strong {
  font-size: 1.08rem;
}

.fiesta-photo-select small,
.fiesta-photo-picker > small {
  color: #687286;
  font-weight: 700;
}

.fiesta-photo-picker > p {
  color: #071d49;
  font-weight: 900;
  margin: 0;
}

.fiesta-photo-previews {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fiesta-photo-previews[hidden] {
  display: none;
}

.fiesta-photo-previews img {
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
}

.fiesta-uploading-overlay {
  background: rgba(7, 29, 73, 0.97);
}

.fiesta-uploading-overlay .uploading-spinner {
  border-top-color: #ffc629;
}

.fiesta-photo-gallery-header {
  grid-template-columns: 1fr auto;
  padding-right: clamp(22px, 4vw, 42px);
}

.fiesta-photo-gallery-header .fiesta-primary {
  text-align: center;
  text-decoration: none;
  width: auto;
}

.fiesta-photo-empty {
  text-align: center;
}

.fiesta-photo-empty[hidden] {
  display: none;
}

.fiesta-photo-gallery {
  columns: 3 260px;
  column-gap: 14px;
}

.fiesta-photo-card {
  background: #fffaf0;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 8, 34, 0.28);
  break-inside: avoid;
  cursor: zoom-in;
  display: inline-grid;
  margin: 0 0 14px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.fiesta-photo-card img {
  display: block;
  height: auto;
  width: 100%;
}

.fiesta-photo-card span {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  bottom: 0;
  color: #fff;
  font-weight: 900;
  left: 0;
  padding: 34px 13px 12px;
  position: absolute;
  right: 0;
  text-align: left;
}

.fiesta-photo-lightbox {
  background: transparent;
  border: 0;
  height: 100vh;
  max-height: none;
  max-width: none;
  padding: 22px;
  width: 100vw;
}

.fiesta-photo-lightbox::backdrop {
  background: rgba(0, 8, 34, 0.94);
}

.fiesta-photo-lightbox img {
  height: calc(100vh - 80px);
  object-fit: contain;
  width: 100%;
}

.fiesta-photo-lightbox > button {
  background: #ffc629;
  border: 0;
  border-radius: 50%;
  color: #071d49;
  cursor: pointer;
  font-size: 2rem;
  height: 46px;
  min-height: 46px;
  padding: 0;
  position: fixed;
  right: 18px;
  top: 18px;
  width: 46px;
  z-index: 1;
}

.fiesta-photo-lightbox p {
  bottom: 12px;
  color: #fff;
  font-weight: 900;
  left: 20px;
  margin: 0;
  position: fixed;
  right: 20px;
  text-align: center;
}

@media (max-width: 680px) {
  .fiesta-photo-header {
    grid-template-columns: 1fr;
  }

  .fiesta-photo-header > img {
    max-height: 230px;
    min-height: 0;
  }

  .fiesta-photo-header > div {
    padding-top: 4px;
  }

  .fiesta-photo-gallery-header {
    align-items: stretch;
    grid-template-columns: 1fr;
    padding: 0 20px 20px;
  }

  .fiesta-photo-gallery-header > div {
    padding-left: 0;
    padding-right: 0;
  }

  .fiesta-photo-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fiesta-photo-nav a {
    text-align: center;
  }

  .fiesta-photo-page .fiesta-photo-nav a:last-child {
    grid-column: 1 / -1;
  }

  .fiesta-photo-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fiesta-photo-upload-hero,
.fiesta-photo-upload-hero .fiesta-hero-copy {
  min-height: 250px;
}

.fiesta-photo-upload-hero .fiesta-hero-copy {
  padding: 28px 34px;
}

.fiesta-photo-upload-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 0 0 14px;
}

.fiesta-slideshow-page {
  background: #020817;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.fiesta-photo-stage {
  height: 100vh;
  position: relative;
  width: 100vw;
}

.fiesta-slideshow-image {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.fiesta-slideshow-brand {
  color: #fff5dc;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.85));
  pointer-events: none;
  position: absolute;
  right: clamp(16px, 3vw, 42px);
  text-align: right;
  top: clamp(12px, 2vw, 28px);
  transform: rotate(2deg);
  z-index: 2;
}

.fiesta-slideshow-brand small,
.fiesta-slideshow-brand strong {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.78;
  text-transform: uppercase;
}

.fiesta-slideshow-brand small {
  color: #ffc629;
  font-size: clamp(1rem, 2vw, 1.8rem);
}

.fiesta-slideshow-brand strong {
  color: #ff5a12;
  font-size: clamp(3rem, 7vw, 6.5rem);
  -webkit-text-stroke: 1px rgba(255, 245, 220, 0.82);
}

.fiesta-slide-control {
  align-items: center;
  background: rgba(7, 29, 73, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 400 2rem/1 Inter, sans-serif;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  opacity: 0.42;
  padding: 0 0 3px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
  width: 44px;
  z-index: 3;
}

.fiesta-slide-control:hover,
.fiesta-slide-control:focus-visible {
  background: rgba(7, 29, 73, 0.9);
  opacity: 1;
}

.fiesta-slide-previous {
  left: 14px;
}

.fiesta-slide-next {
  right: 14px;
}

.fiesta-slideshow-empty {
  color: #fff5dc;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

.fiesta-slideshow-empty[hidden] {
  display: none;
}

.fiesta-slideshow-empty strong {
  color: #ff5a12;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 0.8;
  text-transform: uppercase;
}

.fiesta-slideshow-empty p {
  color: #ffc629;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .fiesta-photo-upload-hero,
  .fiesta-photo-upload-hero .fiesta-hero-copy {
    min-height: 180px;
  }

  .fiesta-photo-upload-hero .fiesta-hero-copy {
    padding: 18px;
  }

  .fiesta-photo-upload-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    margin: 0;
    max-width: 62%;
  }

  .fiesta-photo-upload-hero .fiesta-tagline {
    display: none;
  }

  .fiesta-slide-control {
    height: 38px;
    min-height: 38px;
    width: 38px;
  }

  .fiesta-slide-previous {
    left: 8px;
  }

  .fiesta-slide-next {
    right: 8px;
  }
}

.el-soto-landing {
  background: #fff;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px;
  place-items: center;
}

.el-soto-landing main {
  display: grid;
  place-items: center;
  width: 100%;
}

.el-soto-landing img {
  display: block;
  height: auto;
  max-width: min(82vw, 720px);
  width: 100%;
}

/* Fiesta payment administration */
.fiesta-admin-page {
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 190, 33, 0.34), transparent 23rem),
    linear-gradient(145deg, #071d49, #10427c);
  color: #142547;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  padding: 20px;
}

.fiesta-admin-messages {
  margin: 0 auto 14px;
  max-width: 1480px;
}

.fiesta-admin-login {
  display: grid;
  min-height: calc(100vh - 40px);
  place-items: center;
}

.fiesta-admin-login > section {
  background: #fffaf0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  max-width: 460px;
  padding: 30px;
  width: 100%;
}

.fiesta-admin-login h1,
.fiesta-admin-header h1 {
  color: #071d49;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.fiesta-admin-login p:not(.fiesta-section-label),
.fiesta-admin-header p:not(.fiesta-section-label) {
  color: #606a7e;
  font-weight: 700;
  line-height: 1.5;
}

.fiesta-admin-login form,
.fiesta-admin-login label {
  display: grid;
  gap: 9px;
}

.fiesta-admin-login form {
  margin-top: 22px;
}

.fiesta-admin-login label span,
.fiesta-admin-search label {
  font-size: 0.82rem;
  font-weight: 900;
}

.fiesta-admin-login input,
.fiesta-admin-search input {
  background: #fff;
  border: 1px solid #c8cdd6;
  border-radius: 12px;
  color: #142547;
  font: inherit;
  min-height: 48px;
  padding: 11px 13px;
}

.fiesta-admin-login button,
.fiesta-admin-search button {
  background: linear-gradient(135deg, #ffc629, #f05a0b);
  border: 0;
  border-radius: 12px;
  color: #071d49;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 10px 16px;
}

.fiesta-admin-shell {
  margin: 0 auto;
  max-width: 1480px;
}

.fiesta-admin-header {
  align-items: center;
  background: #fffaf0;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
}

.fiesta-admin-header p {
  margin-bottom: 0;
}

.fiesta-admin-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.fiesta-admin-tabs a {
  background: rgba(255, 250, 240, 0.88);
  border-radius: 999px;
  color: #284263;
  font-weight: 900;
  padding: 10px 18px;
  text-decoration: none;
}

.fiesta-admin-tabs a.active {
  background: #ffc629;
  color: #071d49;
}

.fiesta-attendee-view-picker {
  align-items: end;
  background: #fffaf0;
  border-radius: 18px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  margin-bottom: 14px;
  padding: 18px 20px;
}

.fiesta-attendee-view-picker h2 {
  color: #071d49;
  margin: 2px 0 4px;
}

.fiesta-attendee-view-picker p {
  color: #687286;
  margin: 0;
}

.fiesta-attendee-view-picker form {
  display: grid;
  gap: 6px;
}

.fiesta-attendee-view-picker label {
  color: #273754;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fiesta-attendee-view-picker select {
  background: #fff;
  border: 2px solid #ffc629;
  border-radius: 12px;
  color: #071d49;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 10px 38px 10px 12px;
  width: 100%;
}

.fiesta-admin-logout {
  background: #071d49;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 10px 14px;
}

.fiesta-admin-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0;
}

.fiesta-admin-stats div {
  background: rgba(255, 250, 240, 0.96);
  border-radius: 16px;
  display: grid;
  gap: 4px;
  padding: 15px 18px;
}

.fiesta-admin-stats span {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fiesta-admin-stats strong {
  color: #071d49;
  font-size: 1.7rem;
}

.fiesta-admin-controls {
  background: #fffaf0;
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(300px, 1fr) auto;
  margin-bottom: 14px;
  padding: 16px;
}

.fiesta-admin-search {
  display: grid;
  gap: 7px;
}

.fiesta-admin-search > div {
  align-items: center;
  display: flex;
  gap: 8px;
}

.fiesta-admin-search input[type="search"] {
  flex: 1;
  min-width: 160px;
}

.fiesta-admin-search a {
  color: #0c448a;
  font-weight: 900;
}

.fiesta-admin-sort {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.fiesta-admin-sort > span {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fiesta-admin-sort a {
  background: #fff;
  border: 1px solid #ccd2dc;
  border-radius: 999px;
  color: #284263;
  font-size: 0.77rem;
  font-weight: 900;
  padding: 7px 10px;
  text-decoration: none;
}

.fiesta-admin-sort a.active {
  background: #071d49;
  border-color: #071d49;
  color: #ffc629;
}

.fiesta-admin-table-wrap {
  background: #fffaf0;
  border-radius: 18px;
  overflow-x: auto;
}

.fiesta-admin-table {
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 1180px;
  width: 100%;
}

.fiesta-attendee-table {
  min-width: 900px;
}

.fiesta-attendee-detail {
  color: #273754;
  white-space: pre-wrap;
}

.fiesta-admin-table th {
  background: #071d49;
  color: #ffc629;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 12px;
  text-align: left;
  text-transform: uppercase;
}

.fiesta-admin-table td {
  border-bottom: 1px solid #ddd8cc;
  padding: 13px 12px;
  vertical-align: top;
}

.fiesta-admin-table tbody tr:hover {
  background: #fff5d8;
}

.fiesta-admin-table td > span,
.fiesta-admin-table td > small {
  display: block;
}

.fiesta-admin-table small {
  color: #687286;
  line-height: 1.4;
  margin-top: 5px;
}

.fiesta-admin-people {
  display: grid;
  gap: 8px;
}

.fiesta-admin-people > div {
  align-items: center;
  border-bottom: 1px solid #e5dfd3;
  display: flex;
  gap: 5px;
  padding-bottom: 7px;
}

.fiesta-admin-people > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fiesta-admin-people form {
  display: inline-flex;
}

.fiesta-admin-people button {
  background: transparent;
  border: 0;
  color: #b42318;
  cursor: pointer;
  display: inline-grid;
  opacity: 0.38;
  padding: 2px;
  place-items: center;
}

.fiesta-admin-people button:hover,
.fiesta-admin-people button:focus-visible {
  opacity: 1;
}

.fiesta-admin-people button svg {
  fill: currentColor;
  height: 12px;
  width: 12px;
}

.fiesta-admin-code {
  color: #0c448a;
  letter-spacing: 0.04em;
}

.fiesta-admin-amount {
  color: #071d49;
  font-size: 1.15rem;
}

.fiesta-payment-status {
  border-radius: 999px;
  display: inline-block !important;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 5px 8px;
  text-transform: uppercase;
}

.fiesta-payment-status.pending {
  background: #ffebad;
  color: #755200;
}

.fiesta-payment-status.confirmed {
  background: #d9f5df;
  color: #17612a;
}

.fiesta-payment-warning {
  color: #b42318 !important;
  font-weight: 900;
}

.fiesta-payment-button {
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  margin-top: 8px;
  padding: 7px 9px;
}

.fiesta-payment-button.confirm {
  background: #17612a;
  color: #fff;
}

.fiesta-payment-button.unconfirm {
  background: #fff;
  border: 1px solid #9aa1ad;
  color: #475569;
}

.fiesta-admin-empty {
  padding: 50px 24px;
  text-align: center;
}

.fiesta-admin-empty h2 {
  color: #071d49;
  margin-bottom: 6px;
}

.fiesta-admin-empty p {
  color: #697386;
}

.fiesta-admin-settings {
  background: #fffaf0;
  border-radius: 20px;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 30px);
}

.fiesta-admin-settings > header h2 {
  color: #071d49;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.fiesta-admin-settings > header > p:last-child {
  color: #667085;
  font-weight: 700;
  line-height: 1.5;
}

.fiesta-settings-add,
.fiesta-settings-list article {
  background: #fff;
  border: 1px solid #ddd8cc;
  border-radius: 16px;
  padding: 18px;
}

.fiesta-settings-add h3 {
  color: #071d49;
  margin: 0 0 14px;
}

.fiesta-settings-add form,
.fiesta-settings-edit {
  display: grid;
  gap: 13px;
}

.fiesta-settings-add label,
.fiesta-settings-edit label {
  display: grid;
  gap: 7px;
}

.fiesta-settings-add label span,
.fiesta-settings-edit label span {
  color: #273754;
  font-size: 0.8rem;
  font-weight: 900;
}

.fiesta-settings-add input,
.fiesta-settings-add textarea,
.fiesta-settings-edit input,
.fiesta-settings-edit textarea {
  background: #fff;
  border: 1px solid #c8cdd6;
  border-radius: 11px;
  color: #142547;
  font: inherit;
  padding: 11px 12px;
  resize: vertical;
  width: 100%;
}

.fiesta-settings-add button,
.fiesta-settings-edit button {
  background: #071d49;
  border: 0;
  border-radius: 10px;
  color: #ffc629;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  justify-self: start;
  padding: 10px 14px;
}

.fiesta-settings-list {
  display: grid;
  gap: 12px;
}

.fiesta-settings-list article {
  display: grid;
  gap: 10px;
}

.fiesta-settings-delete {
  background: transparent;
  border: 0;
  color: #b42318;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 0;
}

.fiesta-stats-overview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 0;
}

.fiesta-stats-overview > div,
.fiesta-stats-details article {
  background: rgba(255, 250, 240, 0.96);
  border-radius: 16px;
  display: grid;
  gap: 4px;
  padding: 17px 19px;
}

.fiesta-stats-overview span,
.fiesta-stats-details span {
  color: #687286;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fiesta-stats-overview strong,
.fiesta-stats-details strong {
  color: #071d49;
  font-size: 1.8rem;
}

.fiesta-stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fiesta-stats-panel {
  background: #fffaf0;
  border-radius: 18px;
  padding: 20px;
}

.fiesta-stats-panel header {
  margin-bottom: 18px;
}

.fiesta-stats-panel h2,
.fiesta-stats-panel header p {
  margin-bottom: 4px;
}

.fiesta-stats-bars {
  display: grid;
  gap: 15px;
}

.fiesta-stats-row {
  display: grid;
  gap: 6px;
}

.fiesta-stats-row > div:first-child {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.fiesta-stats-row span {
  color: #273754;
  font-size: 0.84rem;
  font-weight: 800;
}

.fiesta-stats-row strong {
  color: #071d49;
  font-size: 1rem;
}

.fiesta-stats-track {
  background: #e8e2d6;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.fiesta-stats-track i {
  background: linear-gradient(90deg, #f26522, #ffc629);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.fiesta-stats-details {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
}

.fiesta-stats-details small {
  color: #687286;
  line-height: 1.35;
}

@media (max-width: 800px) {
  .fiesta-admin-page {
    padding: 10px;
  }

  .fiesta-admin-header {
    align-items: start;
    gap: 18px;
    padding: 20px;
  }

  .fiesta-admin-controls {
    grid-template-columns: 1fr;
  }

  .fiesta-attendee-view-picker {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .fiesta-stats-overview,
  .fiesta-stats-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .fiesta-stats-grid {
    grid-template-columns: 1fr;
  }

  .fiesta-admin-sort {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .fiesta-admin-header {
    flex-direction: column;
  }

  .fiesta-admin-stats {
    grid-template-columns: 1fr;
  }

  .fiesta-stats-overview,
  .fiesta-stats-details {
    grid-template-columns: 1fr;
  }

  .fiesta-admin-search > div {
    align-items: stretch;
    flex-direction: column;
  }

  .fiesta-admin-search input,
  .fiesta-admin-search button {
    width: 100%;
  }
}
