/* In-app confirm dialog (replaces window.confirm). Dark + cyan accent. */

.app-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 16px;
}

.app-confirm-modal[hidden] {
  display: none;
}

.app-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.app-confirm-modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 18px 20px 16px;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: #0a0a0f;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.12),
    0 0 28px rgba(34, 211, 238, 0.18),
    0 18px 48px rgba(0, 0, 0, 0.65);
}

.app-confirm-modal__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #22d3ee;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

.app-confirm-modal__message {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: #d8dce8;
}

.app-confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.app-confirm-modal__btn {
  font: inherit;
  font-size: 13px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid rgba(107, 112, 128, 0.55);
  background: rgba(18, 18, 26, 0.95);
  color: #9ca3af;
  transition:
    color 0.12s,
    border-color 0.12s,
    box-shadow 0.12s;
}

.app-confirm-modal__btn:hover {
  color: #d8dce8;
  border-color: rgba(34, 211, 238, 0.45);
}

.app-confirm-modal__btn--ok {
  border-color: rgba(34, 211, 238, 0.55);
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.12);
}

.app-confirm-modal__btn--ok:hover {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.85);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.22);
}

.app-confirm-modal__btn--cancel:hover {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fbbf24;
}
