/* Confirmed-result alert shared by the Admissions module.
   It deliberately has no translucent backdrop: the solid result panel itself
   is the feedback. `amr-` is module-safe and does not trigger ad blockers. */
.amr-alert {
  --amr-panel: var(--panel, #171326);
  --amr-text: var(--tx, #f3f0ff);
  --amr-muted: var(--muted, #9c93b8);
  --amr-border: var(--border, #2a2340);
  --amr-accent: #38bdf8;
  position: fixed; z-index: 10050; left: 50%; top: 50%;
  width: 370px; height: 370px; max-width: calc(100vw - 32px);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-sizing: border-box; padding: 36px 34px 30px; text-align: center;
  color: var(--amr-text); background: var(--amr-panel);
  border: 1px solid var(--amr-border); border-top: 4px solid var(--amr-accent);
  border-radius: 0; box-shadow: 0 24px 58px rgba(8, 12, 28, .42);
  font-family: inherit;
}
.amr-alert[hidden] { display: none !important; }
.amr-alert[data-tone="error"] { --amr-accent: #ef4444; }
.amr-alert[data-tone="warning"] { --amr-accent: #f59e0b; }
.amr-alert[data-tone="info"] { --amr-accent: #38bdf8; }
.amr-alert:focus { outline: none; }
.amr-alert:focus-visible { outline: 3px solid var(--amr-accent); outline-offset: 4px; }
.amr-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  display: grid; place-items: center; padding: 0; border-radius: 8px;
  color: var(--amr-muted); background: var(--panel2, #211b39);
  border: 1px solid var(--amr-border); cursor: pointer; font: inherit; font-size: 16px;
}
.amr-close:hover { color: var(--amr-text); border-color: var(--amr-accent); }
.amr-icon {
  width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 15px;
  color: var(--amr-accent); background: var(--panel2, #211b39);
  border: 1px solid var(--amr-border); border-radius: 50%; font-size: 28px;
}
.amr-kicker { margin: 0 0 5px; color: var(--amr-accent); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.amr-title {
  margin: 0; color: var(--amr-text); background: none; -webkit-text-fill-color: currentColor;
  font-family: inherit; font-size: 21px; font-weight: 800; line-height: 1.22;
}
.amr-copy { min-height: 42px; margin: 11px 0 20px; color: var(--amr-muted); font-size: 12px; line-height: 1.6; }
.amr-action {
  min-height: 38px; padding: 9px 16px; border: 1px solid var(--amr-accent);
  border-radius: 8px; color: #fff; background: var(--amr-accent);
  font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer;
}
.amr-action[hidden] { display: none !important; }
.amr-action:focus-visible, .amr-close:focus-visible { outline: 3px solid var(--amr-accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .amr-alert { width: min(320px, calc(100vw - 28px)); height: min(320px, calc(100vh - 28px)); padding: 28px 23px 22px; }
  .amr-icon { width: 54px; height: 54px; margin-bottom: 11px; font-size: 24px; }
  .amr-copy { margin-bottom: 14px; }
}
