/* Backdrop + container */
#wcas-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
#wcas-modal.is-open {
  display: block;
  z-index: 10000;
}
#wcas-modal .wcas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}
#wcas-modal .wcas-dialog {
  position: relative;
  margin: 6vh auto;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ff4d4d;
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.2);
}
#wcas-modal .wcas-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: white;
}

button.button.button-primary.wcas-submit {
  margin-bottom: 1rem !important;
}

/* Header block */
.wcas-head {
  padding: 28px 24px 18px;
  text-align: center;
  background: #1a1a1a;
}
.wcas-head-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.wcas-hero {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff !important;
  font-family: "Bruno Ace", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
}
.wcas-sub {
  margin: 0.4rem 0 0;
  color: #e0e0e0;
}

/* Panels */
.wcas-panel {
  padding: 28px 24px;
}
.wcas-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.wcas-actions .button {
  min-width: 160px;
}

/* Inputs like the screenshot */
.wcas-input {
  width: 100%;
  display: block;
  margin: 10px 0 15px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

/* Full-width primary in feedback form */
.wcas-form .button-primary {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  font-size: 16px;
}

/* Footnote */
.wcas-footnote {
  text-align: center;
  padding: 0 16px 18px;
  color: #777;
  font-size: 12px;
}

/* Small screen tweaks */
@media (max-width: 480px) {
  #wcas-modal .wcas-dialog {
    margin: 10vh 12px;
  }
  .wcas-actions {
    flex-direction: column;
  }
  .wcas-actions .button {
    width: 100%;
  }
}
