/* ===== MODALS ===== */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal__dialog {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px;
  width: 100%; max-width: 420px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  max-height: 90vh; overflow-y: auto;
}
.modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--color-border);
}
.modal__header h3 { font-size: 16px; font-weight: 600; }
.modal__close {
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 22px; line-height: 1; color: var(--color-text-secondary);
}
.modal__close:hover { background: #f0f2f5; }
.modal__body { padding: 16px 20px 20px; }
.modal__field { margin-bottom: 16px; }
.modal__field label {
  display: block; font-size: 13px; font-weight: 500;
  margin-bottom: 8px; color: var(--color-text-secondary);
}
.modal__field textarea,
.modal__field input[type="number"] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--color-border);
  border-radius: 10px; font-size: 14px; resize: vertical;
}
.modal__field textarea:focus,
.modal__field input:focus { outline: none; border-color: var(--color-accent); }
.modal__hint { font-size: 14px; margin-bottom: 8px; }
.modal__balance { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 16px; }
.modal__balance strong { color: #1a1a1a; }
.modal__footer {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px;
}
.modal__btn {
  padding: 10px 18px; border-radius: 20px; font-size: 14px; font-weight: 500;
}
.modal__btn--ghost { background: #f0f2f5; color: #1a1a1a; }
.modal__btn--ghost:hover { background: #e4e7eb; }
.modal__btn--primary { background: #1a1a1a; color: #fff; }
.modal__btn--primary:hover { opacity: 0.85; }
.modal__btn--donate { background: #f59e0b; }
.modal__btn--donate:hover { background: #d97706; }

.report-reasons { display: flex; flex-direction: column; gap: 6px; }
.report-reason {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--color-border);
  cursor: pointer; transition: 0.12s;
}
.report-reason:has(input:checked) { border-color: var(--color-accent); background: #f0f6ff; }
.report-reason input { accent-color: var(--color-accent); }
.report-reason span { font-size: 14px; }

.donate-amounts {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.donate-amount-btn {
  padding: 8px 14px; border-radius: 20px; border: 1px solid var(--color-border);
  font-size: 13px; font-weight: 500; background: #fff;
}
.donate-amount-btn:hover { border-color: #f59e0b; color: #d97706; }
.donate-amount-btn.is-active {
  background: #fef3c7; border-color: #f59e0b; color: #92400e;
}

.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: #1a1a1a; color: #fff; padding: 12px 20px;
  border-radius: 24px; font-size: 14px; z-index: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: toast-in 0.25s ease;
}
.toast[hidden] { display: none !important; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
