/* ==========================================================================
   Nova DAO — Overlay Components
   Standalone CSS for the transaction, RPC failure, access denied, and
   successful-vote overlays. Included by the main app at
   overlays/overlays.css.

   Usage:
   - The overlay is hidden while it has the [hidden] attribute.
   - Remove [hidden] to display it; add [hidden] again to close it.
   - This file owns the overlay layout, glass panel, spinner, timer,
     animations, and responsive rules. It has no JavaScript.

   The local custom properties below keep this file portable: it works
   on its own without the main styles.css.
   ========================================================================== */

.overlay {
  --text: #f7f8fc;
  --muted: #9296aa;
  --muted-dim: #7c8197;
  --violet: #9d8cff;
  --cyan: #70e8ff;
  --green: #5be6a0;
  --red: #ff7182;
  --amber: #ffb26b;
  --amber-bright: #ffe0c1;
  --font-display: "Sora", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.overlay[hidden] {
  display: none !important;
}

.overlay,
.overlay *,
.overlay *::before,
.overlay *::after {
  box-sizing: border-box;
}

.overlay h2,
.overlay p {
  margin-top: 0;
}

.overlay button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.overlay svg {
  display: block;
}

.overlay :focus-visible {
  outline: 2px solid rgba(112, 232, 255, 0.8);
  outline-offset: 3px;
}

.overlay .network-mark {
  position: relative;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 0 3px rgba(112, 232, 255, 0.07),
    0 0 9px rgba(112, 232, 255, 0.45);
}

/* Overlays ----------------------------------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background:
    radial-gradient(720px 560px at 50% 34%, rgba(113, 87, 255, 0.11), transparent 64%),
    rgba(4, 5, 8, 0.73);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  animation: overlay-in 220ms ease both;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 92vw);
  height: min(760px, 92vw);
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(157, 140, 255, 0.085), transparent 60%),
    radial-gradient(circle at 65% 23%, rgba(48, 214, 159, 0.045), transparent 48%);
  filter: blur(32px);
  transform: translate(-50%, -50%);
}

.overlay-panel {
  position: relative;
  z-index: 1;
  width: min(490px, 100%);
  padding: 24px 30px 27px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.125);
  border-radius: 28px;
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(157, 140, 255, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent 25%),
    linear-gradient(155deg, rgba(21, 22, 32, 0.985), rgba(8, 9, 14, 0.995));
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: panel-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.overlay-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 17%;
  left: 17%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.13),
    rgba(218, 210, 255, 0.5),
    rgba(255, 255, 255, 0.13),
    transparent
  );
}

.overlay-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.network-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aab0c4;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.overlay-type {
  color: var(--muted-dim);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.overlay-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.overlay-panel h2 {
  margin: 0 auto 10px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.5vw, 2.38rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.overlay-message {
  max-width: 39ch;
  margin: 0 auto;
  color: #989cae;
  font-size: 0.8rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.overlay-footnote {
  margin: 15px 0 0;
  color: var(--muted-dim);
  font-size: 0.61rem;
  line-height: 1.5;
}

/* Processing overlay ------------------------------------------------------- */

.processing-panel {
  border-color: rgba(157, 140, 255, 0.17);
}

.spinner {
  position: relative;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  margin: 4px auto 23px;
}

.spinner-ring,
.spinner-orbit {
  position: absolute;
  border-radius: 50%;
}

.spinner-ring {
  inset: 0;
  background: conic-gradient(
    from 140deg,
    transparent 0deg 192deg,
    rgba(157, 140, 255, 0.08) 218deg,
    rgba(157, 140, 255, 0.8) 282deg,
    var(--cyan) 326deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 1.2s linear infinite;
}

.spinner-orbit {
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top-color: rgba(112, 232, 255, 0.42);
  border-right-color: rgba(157, 140, 255, 0.35);
  animation: spin 7s linear infinite reverse;
}

.spinner-core {
  position: relative;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 29%, #ffffff 0%, #d5ccff 17%, #9d8cff 45%, #4724c4 78%, #1b0d59 100%);
  box-shadow:
    0 0 24px rgba(157, 140, 255, 0.65),
    0 0 62px rgba(113, 87, 255, 0.34);
  animation: core-pulse 2.2s ease-in-out infinite;
}

.timer-block {
  margin-top: 17px;
}

.timer-label {
  display: block;
  color: var(--muted-dim);
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.processing-timer {
  margin: 3px auto 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
  color: #f5f1ff;
  background: linear-gradient(135deg, #ffffff 4%, #d8ccff 43%, #8fefff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(157, 140, 255, 0.2));
}

.processing-progress {
  width: min(228px, 68%);
  height: 3px;
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.processing-progress-bar {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
  animation: progress-sweep 1.9s ease-in-out infinite;
}

/* Denied overlay ----------------------------------------------------------- */

.denied-panel {
  width: min(465px, 100%);
  border-color: rgba(255, 113, 130, 0.16);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(255, 113, 130, 0.085), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 25%),
    linear-gradient(155deg, rgba(23, 20, 29, 0.99), rgba(9, 8, 12, 0.995));
}

.denied-panel h2 {
  color: #fff0f2;
  text-shadow: 0 0 30px rgba(255, 113, 130, 0.14);
}

.denied-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 2px auto 21px;
  color: #ff9aa7;
  border: 1px solid rgba(255, 113, 130, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 113, 130, 0.17), rgba(255, 113, 130, 0.025) 67%),
    rgba(255, 255, 255, 0.012);
  box-shadow:
    0 0 48px rgba(255, 113, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.denied-icon svg {
  width: 32px;
  height: 32px;
}

.requirement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 19px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.64rem;
  border: 1px solid rgba(255, 113, 130, 0.12);
  border-radius: 10px;
  background: rgba(255, 113, 130, 0.035);
}

.requirement strong {
  color: #ffd9de;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.disconnect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 13px;
  color: #ffdbe0;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 113, 130, 0.23);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 113, 130, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.disconnect-button svg {
  width: 15px;
  height: 15px;
}

.disconnect-button:hover {
  border-color: rgba(255, 113, 130, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    rgba(255, 113, 130, 0.1);
  box-shadow:
    0 12px 28px rgba(255, 113, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.disconnect-button:active {
  transform: translateY(0);
}

/* RPC failure overlay ------------------------------------------------------ */

.failed-panel {
  width: min(475px, 100%);
  border-color: rgba(255, 178, 107, 0.17);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(255, 158, 86, 0.085), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 25%),
    linear-gradient(155deg, rgba(24, 20, 21, 0.99), rgba(10, 8, 10, 0.995));
}

.failed-panel h2 {
  color: #fff2e7;
  text-shadow: 0 0 30px rgba(255, 165, 99, 0.13);
}

.failed-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 2px auto 21px;
  color: #ffc196;
  border: 1px solid rgba(255, 178, 107, 0.23);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 158, 86, 0.17), rgba(255, 158, 86, 0.025) 67%),
    rgba(255, 255, 255, 0.012);
  box-shadow:
    0 0 48px rgba(255, 158, 86, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.failed-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 178, 107, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.failed-icon svg {
  width: 33px;
  height: 33px;
}

.failure-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding: 9px 11px;
  color: var(--muted-dim);
  font-size: 0.58rem;
  border: 1px solid rgba(255, 178, 107, 0.12);
  border-radius: 10px;
  background: rgba(255, 158, 86, 0.035);
}

.failure-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffc59d;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.failure-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 9px rgba(255, 178, 107, 0.55);
}

.failed-panel .timer-block {
  margin-top: 13px;
}

.failed-timer {
  font-size: clamp(3.4rem, 8vw, 4.4rem);
  background: linear-gradient(135deg, #ffffff 4%, #ffe0c1 38%, #ffb26b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 178, 107, 0.18));
}

.failure-progress-bar {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--amber), #ff8750, transparent);
  animation: progress-sweep 1.9s ease-in-out infinite;
}

.retry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 13px;
  color: #1b0d03;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 226, 193, 0.36);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 45%),
    linear-gradient(135deg, #ffd5ab 0%, #ffb06b 54%, #ff8b50 100%);
  box-shadow:
    0 14px 32px rgba(255, 139, 80, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition:
    filter 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.retry-button svg {
  width: 15px;
  height: 15px;
}

.retry-button:hover {
  filter: brightness(1.045);
  box-shadow:
    0 18px 38px rgba(255, 139, 80, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transform: translateY(-1px);
}

.retry-button:active {
  transform: translateY(0);
}

/* Success overlay ---------------------------------------------------------- */

.success-panel {
  width: min(465px, 100%);
  border-color: rgba(91, 230, 160, 0.18);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(91, 230, 160, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 25%),
    linear-gradient(155deg, rgba(19, 24, 23, 0.99), rgba(8, 11, 10, 0.995));
}

.success-panel h2 {
  color: #f0fff7;
  text-shadow: 0 0 30px rgba(91, 230, 160, 0.14);
}

.success-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 2px auto 21px;
  border: 1px solid rgba(91, 230, 160, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(91, 230, 160, 0.16), rgba(91, 230, 160, 0.025) 67%),
    rgba(255, 255, 255, 0.012);
  box-shadow:
    0 0 52px rgba(91, 230, 160, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.success-icon::before,
.success-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.success-icon::before {
  inset: -8px;
  border: 1px solid rgba(91, 230, 160, 0.075);
}

.success-icon::after {
  inset: -1px;
  border: 1px solid rgba(91, 230, 160, 0.22);
  animation: success-ripple 2.8s ease-out infinite;
}

.success-glyph {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #06251a;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), transparent 45%),
    linear-gradient(135deg, #9bffd0 0%, #4be19d 52%, #20c883 100%);
  box-shadow:
    0 0 28px rgba(75, 225, 157, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.success-glyph svg {
  width: 24px;
  height: 24px;
}

.success-receipt {
  margin-top: 18px;
  padding: 2px 12px;
  border: 1px solid rgba(91, 230, 160, 0.11);
  border-radius: 12px;
  background: rgba(91, 230, 160, 0.028);
}

.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}

.receipt-row + .receipt-row {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.receipt-row span {
  color: var(--muted-dim);
  font-size: 0.6rem;
}

.receipt-row strong {
  color: #dfe9e4;
  font-size: 0.62rem;
  font-weight: 600;
}

.receipt-choice {
  color: var(--green) !important;
  font-family: var(--font-mono);
  font-size: 0.58rem !important;
  letter-spacing: 0.06em;
}

.receipt-signature {
  color: #aab8b1 !important;
  font-family: var(--font-mono);
  font-size: 0.58rem !important;
  font-weight: 500 !important;
}

.success-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  color: #03170e;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(169, 255, 211, 0.29);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(135deg, #8df8c3 0%, #4be19d 54%, #20c883 100%);
  box-shadow:
    0 14px 32px rgba(32, 200, 131, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
  transition:
    filter 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.success-button svg {
  width: 15px;
  height: 15px;
}

.success-button:hover {
  filter: brightness(1.035);
  box-shadow:
    0 18px 38px rgba(32, 200, 131, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
}

.success-button:active {
  transform: translateY(0);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 680px) {
  .overlay {
    padding: 16px;
  }

  .overlay-panel {
    padding: 21px 22px 23px;
    border-radius: 24px;
  }

  .overlay-topline {
    margin-bottom: 19px;
  }
}

@media (max-width: 430px) {
  .overlay {
    padding: 12px;
  }

  .overlay-panel {
    padding: 20px 17px 21px;
    border-radius: 22px;
  }

  .overlay-topline {
    gap: 9px;
    margin-bottom: 17px;
    padding-bottom: 12px;
  }

  .network-label,
  .overlay-type {
    font-size: 0.49rem;
  }

  .overlay-message {
    font-size: 0.76rem;
  }

  .spinner {
    width: 88px;
    height: 88px;
    margin-bottom: 19px;
  }

  .spinner-orbit {
    inset: 11px;
  }

  .spinner-core {
    width: 27px;
    height: 27px;
  }

  .processing-timer {
    font-size: 3.7rem;
  }

  .denied-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }

  .denied-icon svg {
    width: 29px;
    height: 29px;
  }

  .failed-icon,
  .success-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }

  .failed-icon svg {
    width: 29px;
    height: 29px;
  }

  .success-glyph {
    width: 42px;
    height: 42px;
  }

  .success-glyph svg {
    width: 21px;
    height: 21px;
  }

  .failed-timer {
    font-size: 3.7rem;
  }

  .failure-status {
    flex-wrap: wrap;
    font-size: 0.54rem;
  }

  .retry-button,
  .success-button {
    font-size: 0.7rem;
  }

  .requirement {
    font-size: 0.57rem;
  }
}

/* Motion ------------------------------------------------------------------- */

@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes core-pulse {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.055);
  }
}

@keyframes progress-sweep {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(370%);
  }
}

@keyframes success-ripple {
  0% {
    opacity: 0.55;
    transform: scale(0.94);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .overlay *,
  .overlay *::before,
  .overlay *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Waiting state ------------------------------------------------------------ */

.wait-panel {
  width: min(455px, 100%);
}

.wait-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 14px 15px 13px;
  list-style: none;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.016);
}

.wait-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-dim);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 240ms ease;
}

.wait-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.wait-step.is-active {
  color: #e8e6f4;
}

.wait-step.is-active .wait-dot {
  border-color: rgba(157, 140, 255, 0.9);
  background: var(--violet);
  box-shadow:
    0 0 0 4px rgba(157, 140, 255, 0.1),
    0 0 12px rgba(157, 140, 255, 0.5);
}

.wait-step.is-done {
  color: #baf4d8;
}

.wait-step.is-done .wait-dot {
  border-color: rgba(91, 230, 160, 0.8);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(91, 230, 160, 0.08);
}

/* Retry gating ------------------------------------------------------------- */

.retry-button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  filter: none;
  transform: none;
  box-shadow:
    0 8px 20px rgba(255, 139, 80, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
