/* "Ask a parent to pay": a quiet text button under the main one. */
.store-modal-parent-pay {
  display: block;
  margin: 0.75rem auto 0;
  padding: 0.25rem 0.5rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.store-modal-parent-pay:hover {
  text-decoration-thickness: 2px;
}

.store-modal-parent-pay:disabled {
  cursor: progress;
  opacity: 0.7;
}

.store-modal-parent-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-xs, 8px);
  border: 1px solid var(--grey-200);
  background: var(--grey-100);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  animation: store-parent-pop 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.store-modal-parent-status[hidden] {
  display: none;
}

.store-modal-parent-status[data-tone='done'] {
  border-color: color-mix(in srgb, var(--success) 45%, transparent);
  background: color-mix(in srgb, var(--success) 14%, var(--white));
}

.store-modal-parent-status[data-tone='done']::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.8125rem;
}

@keyframes store-parent-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-modal-parent-status {
    animation: none;
  }
}
