/* Standalone confirm styles also serve the desktop choice dialog. */

#confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
#confirm-overlay.active {
  display: flex;
}

#confirm-dialog {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  width: 340px;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

#confirm-message {
  font-size: 0.92rem;
  color: #d1d5db;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

#confirm-ok {
  background: #7f1d1d;
  color: #fca5a5;
  border: 1px solid #991b1b;
  border-radius: 6px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}
#confirm-ok:hover {
  background: #991b1b;
}
#confirm-ok.warn {
  background: #f5a623;
  color: #111827;
  border-color: #e09518;
}
#confirm-ok.warn:hover {
  background: #e09518;
}
#confirm-ok.win {
  background: #15803d;
  color: #bbf7d0;
  border-color: #166534;
}
#confirm-ok.win:hover {
  background: #166534;
}

#confirm-cancel {
  background: #374151;
  color: #9ca3af;
  border: 1px solid #4b5563;
  border-radius: 6px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.12s;
}
#confirm-cancel:hover {
  background: #4b5563;
  color: #d1d5db;
}
