/* EE-only confirmation styles. Add alongside the existing embed.css.
 * This file is intentionally scoped to the library embed and does NOT change
 * the ExpressionEngine header, navigation, or any standalone PHP form styles.
 */
.ascsa-library-embed.ascsa-embedded-success {
  max-width: 940px;
  margin: 16px auto 42px;
}
.ascsa-embedded-success .confirmation-card {
  padding: 38px 28px;
  border: 1px solid #dde5d7;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.ascsa-embedded-success .confirmation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f2e0;
  color: #537643;
  font-size: 32px;
}
/* Restore the meaningful confirmation kicker even when form headings are
   hidden using the EE-only CSS override added earlier. */
.ascsa-library-embed.ascsa-embedded-success .confirmation-card .eyebrow {
  display: block !important;
  margin: 16px 0 6px;
  color: #557246;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.6px;
}
.ascsa-embedded-success .confirmation-card h1 {
  margin: 12px 0 18px;
  color: #304127;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.22;
}
.ascsa-embedded-success .confirmation-card p {
  margin: 12px 0;
  color: #657263;
  font-size: 14px;
}
.ascsa-embedded-success .confirmation-card .reference {
  display: inline-block;
  margin: 16px auto;
  padding: 12px 20px;
  border-radius: 8px;
  background: #f1f6ec;
  color: #596c50;
  font-size: 16px;
}
.ascsa-embedded-success .confirmation-card .reference strong {
  color: #304d29;
}
.ascsa-embedded-success .confirmation-card .muted-copy {
  max-width: 600px;
  margin: 12px auto;
  font-size: 12px;
}
.ascsa-embedded-success .embed-return-row {
  margin-top: 26px;
}
.ascsa-embedded-success .embed-return-button {
  padding: 12px 22px;
  border: 1px solid #304127;
  border-radius: 7px;
  background: #304127;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.ascsa-embedded-success .embed-return-button:hover,
.ascsa-embedded-success .embed-return-button:focus-visible {
  background: #1b2916;
  outline-offset: 3px;
}
.ascsa-library-embed .ascsa-embed-submit-notice {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid #dce5d7;
  border-radius: 8px;
  color: #354a2c;
  background: #f1f6ec;
  font-size: 13px;
}
.ascsa-library-embed .ascsa-embed-submit-notice[role='alert'] {
  background: #fff4e7;
  border-color: #efcfaa;
  color: #70421e;
}
@media (max-width: 720px) {
  .ascsa-embedded-success .confirmation-card { padding: 28px 17px; }
}
