.bn-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.bn-contact-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.bn-contact-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(6px);
}
.bn-contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(183, 255, 60, 0.2);
  background: linear-gradient(165deg, #1a2332 0%, #0b1220 100%);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.6);
  color: #e2e8f0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.bn-contact-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}
.bn-contact-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 2rem 0.35rem 0;
  color: #f8fafc;
}
.bn-contact-modal-sub {
  font-size: 0.8125rem;
  margin: 0 0 1rem;
  color: #94a3b8;
}
.bn-contact-field-row { margin-bottom: 0.7rem; }
.bn-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bn-contact-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(0, 0, 0, 0.28);
  color: #f1f5f9;
  font-size: 0.9375rem;
}
.bn-contact-textarea { resize: vertical; min-height: 68px; }
.bn-contact-char-count {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 0.2rem;
}
.bn-contact-switch {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.85rem 0;
  cursor: pointer;
  font-size: 0.8125rem;
}
.bn-contact-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.bn-contact-switch-ui {
  flex-shrink: 0;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.55);
  position: relative;
  transition: background 0.2s ease;
}
.bn-contact-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.bn-contact-checkbox:checked + .bn-contact-switch-ui { background: #B7FF3C; }
.bn-contact-checkbox:checked + .bn-contact-switch-ui::after { transform: translateX(20px); }
.bn-contact-methods-label {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #cbd5e1;
}
.bn-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.bn-contact-method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.4rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(0, 0, 0, 0.22);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.bn-contact-method-btn:hover {
  border-color: rgba(183, 255, 60, 0.5);
  background: rgba(183, 255, 60, 0.1);
  box-shadow: 0 0 16px rgba(183, 255, 60, 0.15);
}
.bn-contact-method-icon { font-size: 1.25rem; line-height: 1; }
.bn-contact-modal-status {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  min-height: 1.1rem;
  color: #86efac;
}
.bn-contact-modal-status.is-error { color: #f87171; }
body.bn-contact-modal-open { overflow: hidden; }
