.banner-text-modal-open {
  overflow: hidden;
}

.banner-text-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 8, 14, 0.72);
  backdrop-filter: blur(12px);
}

.banner-text-modal-backdrop[hidden] {
  display: none;
}

.banner-text-modal-card {
  width: min(680px, calc(100vw - 32px));
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(105, 223, 196, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(78, 184, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(13, 27, 42, 0.98), rgba(6, 14, 24, 0.98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48), 0 0 36px rgba(105, 223, 196, 0.08);
  color: #eef6ff;
}

.banner-text-modal-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
}

.banner-text-modal-eyebrow {
  color: #69dfc4;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.banner-text-modal-title {
  margin: 4px 0 0;
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  line-height: 1.05;
}

.banner-text-modal-copy {
  margin: 8px 0 0;
  max-width: 58ch;
  color: #a9bbcf;
  font-size: 1rem;
  line-height: 1.48;
}

.banner-text-modal-fields {
  display: grid;
  gap: 12px;
}

.banner-text-modal-field {
  display: grid;
  gap: 6px;
}

.banner-text-modal-label {
  color: #c6d7e8;
  font-size: 0.88rem;
  font-weight: 800;
}

.banner-text-modal-input,
.banner-text-modal-textarea {
  width: 100%;
  border: 1px solid rgba(173, 211, 255, 0.2);
  border-radius: 16px;
  background: rgba(3, 10, 18, 0.62);
  color: #eef6ff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  outline: none;
  padding: 14px 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.banner-text-modal-textarea {
  min-height: 84px;
  resize: vertical;
}

.banner-text-modal-input:focus,
.banner-text-modal-textarea:focus {
  border-color: rgba(105, 223, 196, 0.72);
  background: rgba(4, 14, 24, 0.82);
  box-shadow: 0 0 0 4px rgba(105, 223, 196, 0.12);
}

.banner-text-modal-status {
  min-height: 1.4em;
  color: #ffc2c2;
  font-weight: 800;
}

.banner-text-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-text-modal-button {
  min-height: 44px;
  border: 1px solid rgba(173, 211, 255, 0.2);
  border-radius: 16px;
  padding: 0 22px;
  color: #eef6ff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.banner-text-modal-button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.banner-text-modal-button.primary {
  border-color: rgba(105, 223, 196, 0.42);
  background: linear-gradient(135deg, #69dfc4, #4eb8ff);
  color: #04121a;
  box-shadow: 0 18px 36px rgba(78, 184, 255, 0.22);
}

.banner-text-modal-button:hover,
.banner-text-modal-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .banner-text-modal-backdrop {
    align-items: end;
    padding: 16px;
  }

  .banner-text-modal-card {
    border-radius: 22px;
  }

  .banner-text-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
