/* KDMA — donation window.
   Two panels on desktop: why it matters on the left, the form on the right.
   Stacks to one column on phones, where the thank-you sits above the form. */

.dnt { position: fixed; inset: 0; z-index: 2000; display: flex;
  align-items: center; justify-content: center; padding: 24px 16px; }
.dnt[hidden] { display: none; }
.dnt-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55);
  backdrop-filter: saturate(160%) blur(3px); }

.dnt-window { position: relative; width: 100%; max-width: 880px;
  max-height: calc(100vh - 48px); overflow: auto; background: var(--canvas, #fff);
  border-radius: 20px; box-shadow: rgba(0, 0, 0, .28) 0 12px 48px; }
.dnt-close { position: absolute; top: 10px; right: 14px; z-index: 2;
  border: 0; background: none; font-size: 1.9rem; line-height: 1;
  color: var(--ink-48, #7a7a7a); cursor: pointer; padding: 2px 8px; }
.dnt-close:hover { color: var(--ink, #1d1d1f); }

.dnt-grid { display: grid; grid-template-columns: 1fr 1fr; }

/* Left panel */
.dnt-left { padding: 40px 34px; background: #0b1524; color: #fff;
  border-radius: 20px 0 0 20px; }
.dnt-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #4da3ff; margin: 0 0 10px; }
.dnt-title { font-family: var(--fd, inherit); font-size: 1.7rem; line-height: 1.15;
  letter-spacing: -.02em; margin: 0 0 14px; color: #fff; }
.dnt-lede { font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .78); margin: 0 0 18px; }
.dnt-uses { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.dnt-uses li { position: relative; padding-left: 22px; font-size: .92rem;
  line-height: 1.45; color: rgba(255, 255, 255, .9); }
.dnt-uses li::before { content: ""; position: absolute; left: 2px; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: #4da3ff; }
.dnt-note { font-size: .85rem; color: rgba(255, 255, 255, .6); margin: 0;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* Right panel */
.dnt-right { padding: 40px 34px; }
.dnt-label { font-weight: 600; font-size: .9rem; margin: 0 0 10px; color: var(--ink, #1d1d1f); }
.dnt-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dnt-amt { padding: 12px 0; border: 1.5px solid #dfe3ea; background: #fff; border-radius: 12px;
  font-size: 1rem; font-weight: 700; color: var(--ink, #1d1d1f); cursor: pointer; }
.dnt-amt:hover { border-color: #b9c6d8; }
.dnt-amt.is-on { border-color: var(--primary, #0066cc); background: var(--primary, #0066cc); color: #fff; }

.dnt-other { margin-bottom: 18px; }
.dnt-other label, .dnt-field label { display: block; font-size: .84rem; font-weight: 600;
  color: var(--ink-60, #6e6e73); margin-bottom: 6px; }
.dnt-money { display: flex; align-items: center; gap: 6px; border: 1px solid #ccd1da;
  border-radius: 10px; padding: 0 12px; background: #f4f5f7; }
.dnt-money span { color: var(--ink-48, #7a7a7a); font-size: 1rem; }
.dnt-money input { flex: 1; border: 0; background: none; padding: 11px 0; font: inherit;
  font-size: 1rem; outline: none; }

.dnt-field { margin-bottom: 14px; }
.dnt-field input { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px;
  border: 1px solid #ccd1da; border-radius: 10px; background: #f4f5f7; }
.dnt-field input:focus, .dnt-money:focus-within { border-color: var(--primary, #0066cc);
  background: #fff; outline: none; }

.dnt-error { background: #fdf1ef; border: 1px solid #e0c3bd; color: #a5321f;
  border-radius: 10px; padding: 10px 12px; font-size: .88rem; margin: 0 0 14px; }
.dnt-total { font-size: 1rem; margin: 4px 0 14px; color: var(--ink-60, #6e6e73); }
.dnt-total strong { color: var(--ink, #1d1d1f); font-size: 1.15rem; }
.dnt-secure { font-size: .78rem; color: var(--ink-48, #7a7a7a); margin: 14px 0 0; text-align: center; }

/* Success */
.dnt-done { text-align: center; padding: 20px 0; }
.dnt-check { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: #e8f6ec; color: #1e7a3c; font-size: 1.7rem; line-height: 56px; }
.dnt-done h3 { font-family: var(--fd, inherit); font-size: 1.4rem; margin: 0 0 8px; }
.dnt-done p { font-size: .95rem; line-height: 1.5; color: var(--ink-60, #6e6e73); margin: 0 0 18px; }
.dnt-finish { margin-top: 18px; border: 0; background: var(--primary, #0066cc); color: #fff;
  border-radius: 980px; padding: 11px 26px; font-size: .95rem; font-weight: 600; cursor: pointer; }

@media (max-width: 760px) {
  .dnt { padding: 0; align-items: stretch; }
  .dnt-window { max-width: none; max-height: 100vh; border-radius: 0; }
  .dnt-grid { grid-template-columns: 1fr; }
  .dnt-left { border-radius: 0; padding: 30px 22px 26px; }
  .dnt-left .dnt-uses, .dnt-left .dnt-note { display: none; }
  .dnt-right { padding: 26px 22px 40px; }
}
