/* Coudy Special Events - Public Form */
.cse-public-wrap {
  --cse-navy: #06152f;
  --cse-blue: #0b3d91;
  --cse-gold: #f5b700;
  --cse-orange: #f97316;
  --cse-green: #047857;
  --cse-red: #b91c1c;
  --cse-ink: #111827;
  --cse-muted: #4b5563;
  --cse-border: #d7e0ee;
  --cse-soft: #f5f8ff;
  --cse-white: #ffffff;
  --cse-shadow: 0 22px 60px rgba(6, 21, 47, 0.16);
  color: var(--cse-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.cse-public-wrap *,
.cse-public-wrap *::before,
.cse-public-wrap *::after { box-sizing: border-box; }

.cse-public-wrap :focus-visible {
  outline: 4px solid #ffbf00;
  outline-offset: 4px;
  border-radius: 8px;
}

.cse-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 46px);
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 18%, rgba(245, 183, 0, 0.45), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(0, 166, 214, 0.38), transparent 28%),
    linear-gradient(135deg, #06152f, #0b3d91);
  box-shadow: var(--cse-shadow);
  margin-bottom: 22px;
}

.cse-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  padding: 8px 13px;
  color: #ffffff;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cse-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cse-gold);
  box-shadow: 0 0 0 5px rgba(245,183,0,.22);
}

.cse-hero h2 {
  margin: 18px 0 10px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 1000;
}

.cse-hero p {
  max-width: 880px;
  margin: 0;
  color: #eef6ff;
  font-size: 1.08rem;
  font-weight: 550;
}

.cse-alert,
.cse-notice,
.cse-form {
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(6, 21, 47, 0.09);
}

.cse-alert {
  padding: 18px 20px;
  margin: 18px 0;
  border: 1px solid var(--cse-border);
  background: #ffffff;
}

.cse-alert-success { border-left: 8px solid var(--cse-green); }
.cse-alert-error { border-left: 8px solid var(--cse-red); }
.cse-alert strong { color: var(--cse-navy); }
.cse-alert ul { margin: 10px 0 0 20px; }

.cse-notice {
  padding: 20px 22px;
  margin: 20px 0;
  border: 1px solid #f3d58a;
  border-left: 8px solid var(--cse-gold);
  background: #fff8df;
  color: #2f2300;
}

.cse-notice h3 {
  margin: 0 0 8px;
  color: #2f2300;
  font-size: 1.35rem;
  font-weight: 1000;
}

.cse-notice ul { margin: 0 0 0 20px; }
.cse-notice li { margin: 5px 0; font-weight: 700; }

.cse-form {
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--cse-border);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.cse-fieldset {
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid #dbe5f5;
  border-radius: 24px;
  background: #ffffff;
}

.cse-fieldset legend {
  padding: 0 10px;
  color: var(--cse-navy);
  font-size: 1.2rem;
  font-weight: 1000;
}

.cse-grid {
  display: grid;
  gap: 16px;
}

.cse-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cse-field { margin-bottom: 16px; }
.cse-field-full { grid-column: 1 / -1; }

.cse-field label {
  display: block;
  margin: 0 0 7px;
  color: var(--cse-navy);
  font-weight: 900;
}

.cse-field label span { color: var(--cse-red); }

.cse-field input,
.cse-field select,
.cse-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #9ca3af;
  border-radius: 14px;
  padding: 11px 13px;
  background: #ffffff;
  color: var(--cse-ink);
  font: inherit;
}

.cse-field textarea { min-height: 132px; resize: vertical; }

.cse-field input:focus,
.cse-field select:focus,
.cse-field textarea:focus {
  border-color: #0b3d91;
  box-shadow: 0 0 0 4px rgba(11, 61, 145, .15);
}

.cse-help {
  margin: 6px 0 0;
  color: var(--cse-muted);
  font-size: .94rem;
}

.cse-agreement {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef4ff;
  border: 1px solid #cbdafa;
  color: #08295c;
  font-weight: 750;
}

.cse-actions {
  display: flex;
  justify-content: flex-start;
}

.cse-submit-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #06152f, #0b3d91);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(6, 21, 47, .22);
}

.cse-submit-button:hover,
.cse-submit-button:focus { background: linear-gradient(135deg, #0b3d91, #06152f); }

@media (max-width: 760px) {
  .cse-grid-2 { grid-template-columns: 1fr; }
  .cse-actions { display: block; }
  .cse-submit-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cse-public-wrap *, .cse-public-wrap *::before, .cse-public-wrap *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .cse-public-wrap { color: #000000 !important; background: #ffffff !important; }
  .cse-hero, .cse-alert, .cse-notice, .cse-form, .cse-fieldset, .cse-agreement {
    box-shadow: none !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .cse-hero h2, .cse-hero p, .cse-eyebrow, .cse-notice h3, .cse-fieldset legend, .cse-field label { color: #000000 !important; }
  .cse-submit-button { display: none !important; }
}
