/* Support-specific copy of the Contact page component styles. */

body.support-page .support-page-heading {
  box-sizing: border-box;
  width: min(760px, calc(100vw - 72px));
  padding-top: clamp(52px, 7vh, 76px);
}

body.support-page .support-book {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 1;
  transform: none;
  animation: none;
}

body.support-page .intro-footer {
  margin-top: 0;
}

body.support-page .legal-policy-source h2:not(:first-of-type)::before {
  content: "";
  display: block;
  width: min(178px, 70%);
  height: 38px;
  margin: 0 auto 20px;
  background: url("https://storage.googleapis.com/narralogue-assets/fictions/static_common/misc/divider.webp") center / contain no-repeat;
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
}

body.support-page .legal-policy-source .support-email {
  margin-top: -2px;
  text-align: center;
  font-size: 25px !important;
}

body.support-page .support-form-divider {
  display: block;
  width: min(178px, 70%);
  height: auto;
  margin: clamp(34px, 5vh, 58px) auto clamp(28px, 4vh, 44px);
  opacity: 0.72;
}

body.support-page .support-form {
  width: min(920px, 100%);
  box-sizing: border-box;
  margin: 0 auto clamp(18px, 3vh, 32px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(26, 26, 29, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 46px rgba(0, 0, 0, 0.28);
}

body.support-page .support-field {
  margin: 0 0 18px !important;
  text-align: left;
}

body.support-page .support-field label {
  display: block;
  margin: 0 0 8px;
  color: rgba(242, 242, 242, 0.72);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

body.support-page .support-field input,
body.support-page .support-field select,
body.support-page .support-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(37, 37, 41, 0.92);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.03);
  color: #f2f2f2;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 21px;
  line-height: 1.25;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

body.support-page .support-field input,
body.support-page .support-field select {
  min-height: 62px;
  padding: 15px 18px;
}

body.support-page .support-field textarea {
  min-height: 240px;
  padding: 17px 18px;
  resize: vertical;
}

body.support-page .support-field input::placeholder,
body.support-page .support-field textarea::placeholder {
  color: rgba(242, 242, 242, 0.46);
}

body.support-page .support-field input:-webkit-autofill,
body.support-page .support-field input:-webkit-autofill:hover,
body.support-page .support-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f2f2f2;
  caret-color: #f2f2f2;
  box-shadow:
    0 0 0 1000px rgb(37, 37, 41) inset,
    0 0 0 2px rgba(82, 110, 75, 0.3);
  transition: background-color 9999s ease-in-out 0s;
}

body.support-page .support-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(242, 242, 242, 0.52) 50%),
    linear-gradient(135deg, rgba(242, 242, 242, 0.52) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  color: rgba(242, 242, 242, 0.9);
}

body.support-page .support-field input:focus,
body.support-page .support-field select:focus,
body.support-page .support-field textarea:focus {
  border-color: rgba(112, 145, 100, 0.88);
  background-color: rgba(39, 40, 43, 0.96);
  box-shadow:
    0 0 0 2px rgba(82, 110, 75, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

body.support-page .support-message-counter {
  margin: 8px 0 0 !important;
  color: rgba(242, 242, 242, 0.56) !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: left;
}

body.support-page .support-turnstile-host {
  min-height: 0;
  overflow: hidden;
}

body.support-page .support-form-status {
  min-height: 24px;
  margin: 4px 0 18px !important;
  color: rgba(242, 242, 242, 0.76) !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  text-align: center;
}

body.support-page .support-form-status[data-state="success"] {
  color: #d8ead2 !important;
}

body.support-page .support-form-status[data-state="error"] {
  color: #f1c7bd !important;
}

body.support-page .support-submit-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 !important;
}

body.support-page .support-submit-frame {
  --narralogue-button-frame-padding: 1px;
  --narralogue-button-width: auto;
  --narralogue-button-height: 42px;
  --narralogue-button-font-size: clamp(17px, 1.24vw, 20px);
  background: linear-gradient(
    180deg,
    #d5bc88 0%,
    #b88c4b 20%,
    #8b6837 50%,
    #b88c4b 80%,
    #e4c995 100%
  ) !important;
  box-shadow:
    0 18px 24px rgba(0, 0, 0, 0.52),
    0 3px 12px rgba(222, 177, 92, 0.18),
    inset 0 2px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35);
}

body.support-page .support-submit {
  min-width: 176px;
  padding-inline: 28px;
  white-space: nowrap;
}

body.support-page .support-business-info {
  width: min(520px, 100%);
  margin: clamp(26px, 4vh, 44px) auto 0;
  padding-top: clamp(22px, 3vh, 32px);
  border-top: 1px solid rgba(242, 242, 242, 0.14);
  color: rgba(242, 242, 242, 0.82);
  text-align: left;
}

body.support-page .support-business-heading {
  margin: 0 0 10px !important;
  color: #f2f2f2 !important;
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 23px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25 !important;
}

body.support-page .support-business-copy,
body.support-page .support-business-phone {
  margin: 0 0 22px !important;
  color: rgba(242, 242, 242, 0.74) !important;
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 21px !important;
  line-height: 1.55 !important;
}

body.support-page .support-business-copy span {
  color: rgba(242, 242, 242, 0.64);
}

body.support-page .support-business-info address {
  margin: 0 0 22px;
  color: rgba(242, 242, 242, 0.74);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 21px;
  font-style: normal;
  line-height: 1.65;
  text-align: left !important;
}

body.support-page .support-business-info a {
  color: #d9dfeb !important;
  text-decoration: none;
}

@media (max-width: 980px) {
  body.support-page .support-page-heading {
    width: min(100vw - 32px, 760px);
    padding-top: 52px;
  }
}

@media (max-width: 520px) {
  body.support-page .support-page-heading {
    width: min(100vw - 24px, 560px);
  }
}
