/* Brand Standards

Color Palette:
0D3B66
2E5D66
62B6CB
F4D35E
EE964B
333333
F9FAFB

Primary Fonts:
Inter
Lora
*/

.event-contact-page,
.event-contact-page * {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #F7F3E8;
}

.theme-content-area,
.theme-content-container,
.theme-content-area-inner,
.theme-content-area .zpcontent-container,
.theme-content-area .zpsection,
.theme-content-area .zpdefault-section-bg,
.theme-content-area .zpcontainer,
.theme-content-area .zpcontainer-fluid,
.theme-content-area .zprow,
.theme-content-area .zpelem-col,
.theme-content-area .zpelement,
.theme-content-area .zpsnippet-container {
  background-color: #F7F3E8 !important;
}

.event-contact-page {
  min-height: 100vh;
  background: #F7F3E8;
  color: #333333;
  font-family: Inter, Arial, sans-serif;
}

.event-contact-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 160px;
  color: #0D3B66;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.event-contact-header {
  background: #F7F3E8;
  padding: 34px 24px 28px;
}

.event-contact-header-inner,
.event-contact-form-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.event-contact-header-inner {
  text-align: center;
}

.event-contact-eyebrow {
  margin: 0 0 8px;
  color: #0D3B66;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.event-contact-title {
  margin: 0;
  color: #EE964B;
  font-family: Lora, Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
}

.event-contact-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  color: #333333;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.event-contact-form-section {
  background: #F7F3E8;
  padding: 34px 24px 42px;
}

.event-contact-form-shell {
  padding: 26px;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(13, 59, 102, 0.08);
}

.event-contact-form {
  display: grid;
  gap: 20px;
}

.event-contact-form-introduction {
  max-width: 900px;
  margin: 0;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

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

.event-contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.event-contact-field span,
.event-contact-checkbox span {
  color: #0D3B66;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.event-contact-field b {
  color: #C2410C;
}

.event-contact-field--wide {
  grid-column: 1 / -1;
}

.event-contact-field input,
.event-contact-field select,
.event-contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 2px solid rgba(98, 182, 203, 0.7);
  border-radius: 8px;
  background: #ffffff;
  color: #0D3B66;
  font: 700 16px/1.3 Inter, Arial, sans-serif;
}

.event-contact-field select {
  height: 52px;
  line-height: 1.45;
  padding-top: 10px;
  padding-bottom: 10px;
}

.event-contact-field select option {
  font: 700 16px/1.45 Inter, Arial, sans-serif;
}

.event-contact-field input:focus,
.event-contact-field select:focus,
.event-contact-field textarea:focus {
  border-color: #0D3B66;
  box-shadow: 0 0 0 3px rgba(98, 182, 203, 0.28);
  outline: none;
}

.event-contact-field textarea {
  min-height: 116px;
  resize: vertical;
}

.event-contact-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.event-contact-checkbox input {
  width: 19px;
  height: 19px;
  accent-color: #0D3B66;
}

.event-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.event-contact-btn {
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: Lora, Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.event-contact-btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.event-contact-btn--primary {
  border-color: #EE964B;
  background: #EE964B;
  color: #ffffff;
}

.event-contact-btn--primary:hover:not(:disabled),
.event-contact-btn--primary:focus-visible:not(:disabled) {
  background: #0D3B66;
  border-color: #0D3B66;
}

.event-contact-btn--secondary {
  border-color: rgba(13, 59, 102, 0.22);
  background: #ffffff;
  color: #0D3B66;
}

.event-contact-btn--secondary:hover,
.event-contact-btn--secondary:focus-visible {
  border-color: #0D3B66;
}

.event-contact-status {
  min-height: 24px;
  color: #333333;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.event-contact-status.is-loading {
  color: #0D3B66;
}

.event-contact-status.is-success {
  color: #166534;
}

.event-contact-status.is-error {
  color: #B42318;
}

.event-contact-status.is-error a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.event-contact-debug {
  max-height: 360px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid rgba(13, 59, 102, 0.18);
  border-radius: 8px;
  background: #0D3B66;
  color: #F9FAFB;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.event-contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(13, 59, 102, 0.14);
}

.event-contact-date-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
}

.event-contact-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.event-contact-list h2 {
  margin: 0;
  color: #0D3B66;
  font-family: Lora, Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.event-contact-refresh {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 16px;
}

.event-contact-list-status {
  min-height: 22px;
  color: #333333;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.event-contact-list-status.is-loading {
  color: #0D3B66;
}

.event-contact-list-status.is-error {
  color: #B42318;
}

.event-contact-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(13, 59, 102, 0.14);
  border-radius: 8px;
}

.event-contact-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

.event-contact-table th,
.event-contact-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(13, 59, 102, 0.1);
  text-align: left;
  vertical-align: top;
}

.event-contact-table th {
  background: #F9FAFB;
  color: #0D3B66;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.event-contact-table td {
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.event-contact-table tbody tr {
  cursor: pointer;
}

.event-contact-table tbody tr:hover,
.event-contact-table tbody tr:focus-visible {
  background: rgba(98, 182, 203, 0.12);
  outline: none;
}

.event-contact-table tbody tr.is-selected {
  background: rgba(244, 211, 94, 0.28);
  box-shadow: inset 4px 0 0 #EE964B;
}

.event-contact-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 720px) {
  .event-contact-page {
    font-size: 15px;
  }

  .event-contact-header {
    padding: 24px 16px 18px;
  }

  .event-contact-eyebrow {
    font-size: 12px;
  }

  .event-contact-subtitle {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .event-contact-title {
    font-size: 30px;
  }

  .event-contact-form-section {
    padding: 16px 12px 30px;
  }

  .event-contact-form-shell {
    padding: 18px;
  }

  .event-contact-form {
    gap: 16px;
  }

  .event-contact-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-contact-field {
    gap: 7px;
  }

  .event-contact-field span,
  .event-contact-checkbox span {
    font-size: 12px;
    letter-spacing: 0.035em;
  }

  .event-contact-field input,
  .event-contact-field select,
  .event-contact-field textarea {
    min-height: 46px;
    padding: 9px 11px;
  }

  .event-contact-field select {
    height: 50px;
    min-height: 50px;
    line-height: 1.45;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .event-contact-field textarea {
    min-height: 104px;
  }

  .event-contact-actions {
    justify-content: stretch;
    gap: 10px;
  }

  .event-contact-btn {
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 17px;
  }

  .event-contact-status {
    font-size: 14px;
  }

  .event-contact-list {
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
  }

  .event-contact-list-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .event-contact-list h2 {
    font-size: 22px;
  }

  .event-contact-date-filters {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .event-contact-refresh {
    min-height: 38px;
    font-size: 15px;
  }

  .event-contact-table {
    min-width: 680px;
  }

  .event-contact-table th,
  .event-contact-table td {
    padding: 10px 12px;
  }

  .event-contact-table th {
    font-size: 11px;
  }

  .event-contact-table td {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .event-contact-header {
    padding: 22px 14px 16px;
  }

  .event-contact-title {
    font-size: 27px;
  }

  .event-contact-subtitle {
    font-size: 14px;
  }

  .event-contact-form-section {
    padding-right: 10px;
    padding-left: 10px;
  }

  .event-contact-form-shell {
    padding: 14px;
  }

  .event-contact-field input,
  .event-contact-field select,
  .event-contact-field textarea {
    padding-right: 10px;
    padding-left: 10px;
  }

  .event-contact-btn {
    font-size: 16px;
  }
}

/* Submission confirmation */
#eventContactConfirmation.event-contact-confirmation {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 48px 32px 32px;
  border: 0;
  border-radius: 18px;
  background: #F7F3E8;
  color: #333333;
  box-shadow: 0 20px 70px #0D3B6640;
  font: 400 17px/1.6 Inter, Arial, sans-serif;
  text-align: center;
}

.event-contact-confirmation::backdrop {
  background: rgb(13 59 102 / 60%);
}

.event-contact-confirmation p {
  margin: 0 0 24px;
}

.event-contact-confirmation .event-contact-confirmation-prompt {
  color: #62B6CB;
  font: 700 22px/1.5 Lora, Georgia, serif;
}

.event-contact-confirmation-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #0D3B66;
  font-size: 28px;
  cursor: pointer;
}

.event-contact-confirmation a {
  display: inline-block;
  text-decoration: none;
}

#eventContactConfirmation a.event-contact-btn--primary,
#eventContactConfirmation a.event-contact-btn--primary:visited,
#eventContactConfirmation a.event-contact-btn--primary:hover,
#eventContactConfirmation a.event-contact-btn--primary:focus,
#eventContactConfirmation a.event-contact-btn--primary:active {
  color: #ffffff !important;
}

.event-contact-confirmation :focus-visible {
  outline: 3px solid #0D3B66;
  outline-offset: 3px;
}
