/* Signup validation feedback: only active while the baked signup sheet has errors. */
#sheetWrap .sheet.signup-errors {
  aspect-ratio: auto;
  background-size: 100% auto;
  background-position: center top;
  transition: none;
}

#sheetWrap .sheet.signup-errors::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--feedback-cover-top, 69%);
  left: 7%;
  right: 7%;
  bottom: 10px;
  border: 2px solid #a93425;
  outline: 1px solid #d2aa5d;
  outline-offset: 3px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 220, 152, .035), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 226, 170, .018) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #241713, #120d0a 75%, #1b110c);
  box-shadow: inset 0 0 0 1px rgba(209, 170, 96, .35), 0 8px 24px rgba(0, 0, 0, .55);
  pointer-events: none;
}

#sheetWrap .sheet.signup-errors .sf input[aria-invalid="true"] {
  border-radius: 2px;
  background: rgba(111, 22, 17, .24);
  box-shadow: inset 0 -2px 0 #b43a29, 0 0 0 1px rgba(194, 67, 48, .8);
  text-decoration: underline;
  text-decoration-color: #d65a3f;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#sheetWrap .signup-error-tray {
  position: absolute;
  z-index: 3;
  left: 9%;
  width: 82%;
  padding: 12px clamp(12px, 3.2cqw, 19px);
  border: 2px solid #a93425;
  border-radius: 4px;
  outline: 1px solid #d2aa5d;
  outline-offset: 2px;
  color: #f6e6c6;
  background:
    radial-gradient(ellipse at 50% 0, rgba(171, 50, 30, .19), transparent 70%),
    linear-gradient(180deg, #211512, #120d0b);
  box-shadow: inset 0 0 0 1px rgba(205, 164, 81, .23), 0 4px 12px rgba(0, 0, 0, .45);
  font: 600 16px/1.35 "EB Garamond", Georgia, serif;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#sheetWrap .signup-error-tray:focus {
  outline: 2px solid #f0d27a;
  outline-offset: 4px;
}

#sheetWrap .signup-error-heading {
  margin: 0 0 7px;
  color: #f0cb7b;
  font: 700 16px/1.25 "Cinzel", Georgia, serif;
  letter-spacing: .04em;
}

#sheetWrap .signup-error-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#sheetWrap .signup-error-item {
  min-width: 0;
  padding: 6px 8px;
  border-left: 3px solid #b64030;
  background: rgba(255, 230, 193, .055);
}

#sheetWrap .signup-error-item strong {
  display: block;
  margin-bottom: 2px;
  color: #f1cf85;
  font: 700 16px/1.25 "Cinzel", Georgia, serif;
  overflow-wrap: anywhere;
}

#sheetWrap .signup-error-item p {
  margin: 0;
  color: #f6e6c6;
  font: 600 16px/1.35 "EB Garamond", Georgia, serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#sheetWrap .sheet.signup-errors .sbtn {
  z-index: 4;
  height: 52px;
  margin: 0;
  border: 2px solid #d0a34c;
  border-radius: 4px;
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
  background: linear-gradient(180deg, #fff0b0, #c99a3c 45%, #7a5416 55%, #e8c472);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .45);
  overflow: visible;
}

#sheetWrap .sheet.signup-errors .sbtn::before {
  inset: 3px;
  opacity: 1;
  background: radial-gradient(ellipse at 50% 30%, #c4321f, #82150c 58%, #510a06);
  mix-blend-mode: normal;
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
}

#sheetWrap .sheet.signup-errors .sbtn::after {
  content: "FORGER MON COMPTE";
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  display: grid;
  place-items: center;
  color: #ffe3a0;
  font: 700 16px/1.2 "Cinzel", Georgia, serif;
  letter-spacing: .045em;
  text-shadow: 0 2px 0 #3a0905;
  background: none;
  transform: none;
  transition: none;
}

#sheetWrap .sheet.signup-errors .sbtn:hover,
#sheetWrap .sheet.signup-errors .sbtn:focus-visible {
  filter: brightness(1.12) drop-shadow(0 0 7px rgba(255, 190, 80, .42));
  outline: 2px solid #f0d27a;
  outline-offset: 3px;
}

#sheetWrap .sheet.signup-errors .slink {
  z-index: 4;
  height: 40px;
  border: 1px solid rgba(211, 174, 99, .55);
  color: #f0d89e;
  background: rgba(11, 8, 6, .76);
  font: italic 16px/1.2 "EB Garamond", Georgia, serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#sheetWrap .sheet.signup-errors .slink::after {
  content: attr(aria-label);
}

#sheetWrap .signup-inline-error {
  position: absolute;
  left: 14.8%;
  width: 70.4%;
  z-index: 3;
  margin: 0;
  color: #fff0d2;
  border-left: 2px solid #b64030;
  padding: 1px 6px;
  background: #291714;
  font: 600 16px/20px "EB Garamond", Georgia, serif;
  pointer-events: none;
}
#sheetWrap .signup-inline-error[hidden] { display: none; }

#sheetWrap .sheet.signup-errors .slink:focus-visible {
  outline: 2px solid #f0d27a;
  outline-offset: 3px;
}

#sheetWrap .sheet.signup-errors .clerk-captcha {
  z-index: 4;
}

/* Verification errors sit on parchment; this gives them a legible forged-metal contrast. */
.verification-status.is-error {
  min-width: 0;
  padding: 12px 14px;
  border: 2px solid #a93425;
  border-left-width: 5px;
  outline: 1px solid #d2aa5d;
  outline-offset: 2px;
  border-radius: 3px;
  color: #fff0d2 !important;
  background:
    radial-gradient(ellipse at 50% 0, rgba(171, 50, 30, .2), transparent 70%),
    linear-gradient(180deg, #241713, #120d0a) !important;
  box-shadow: inset 0 0 0 1px rgba(205, 164, 81, .28), 0 4px 12px rgba(0, 0, 0, .25);
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

@media (max-width: 520px) {
  #sheetWrap .signup-error-tray {
    padding: 11px 12px;
  }
}
