.dab-acc-modal[hidden] {
  display: none !important;
}

.dab-acc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dab-acc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.dab-acc-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 24px 20px 20px;
  font-family: inherit;
}

.dab-acc-modal__x {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.dab-acc-modal__dialog h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.dab-acc-modal__hint {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: #555;
}

.dab-acc-modal__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.dab-acc-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.dab-acc-modal__error {
  margin: 8px 0 0;
  color: #b00020;
  font-size: 0.875rem;
}

.dab-acc-modal__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.dab-acc-modal__btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.95rem;
}

.dab-acc-modal__btn--ghost {
  background: #eee;
  color: #222;
}

.dab-acc-modal__btn--primary {
  background: #25d366;
  color: #fff;
  font-weight: 600;
}

.dab-acc-modal__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

body.dab-acc-modal-open {
  overflow: hidden;
}
