@import '../../button-template.css';

.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 10, 0.58);
  display: grid;
  place-items: center;
  z-index: 350;
  padding: 1rem;
}

.dialog-card {
  width: min(460px, 100%);
  background: var(--dlg-bg);
  border: 1.5px solid var(--dlg-border);
  box-shadow: var(--bb-glow);
  border-radius: 4px;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.dialog-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--bb-title);
  text-align: center;
}

.dialog-input {
  width: 100%;
  background: rgba(4, 4, 20, 0.62);
  border: 1px solid var(--bb-border);
  color: var(--bb-title);
  border-radius: 2px;
  padding: 0.6rem 0.7rem;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
}

.dialog-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 213, 255, 0.25);
}

.dialog-textarea {
  min-height: 120px;
  resize: vertical;
}

.text-danger {
  color: #dc3545;
  font-size: 0.875rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
