.annapiskun-payment-page {
  display: grid;
  gap: 1.5rem;
}

.annapiskun-payment-page__status,
.annapiskun-payment-page__history {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

.annapiskun-payment-page__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.annapiskun-payment-page__cancel {
  margin-top: 1rem;
}

.annapiskun-payment-page__status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  background: #eef2ff;
  font-size: 0.875rem;
}

.annapiskun-payment-page__status-badge--premium {
  background: #dcfce7;
}

.annapiskun-payment-page__status-badge--not-paid {
  background: #fee2e2;
}

.annapiskun-payment-page__status-badge--past_due,
.annapiskun-payment-page__status-badge--canceled {
  background: #fee2e2;
}

.annapiskun-payment-page__notice {
  color: #92400e;
}

.annapiskun-payment-page table {
  width: 100%;
  border-collapse: collapse;
}

.annapiskun-payment-page th,
.annapiskun-payment-page td {
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  padding: 0.5rem;
}

/* Bootstrap checkout modal — aligned with contacts modal (#contacts-modal) in subradix. */
#annapiskun-payment-modal .modal-dialog {
  width: 100%;
  max-width: 600px;
  margin: 1.75rem auto;
}

#annapiskun-payment-modal .modal-content {
  border-radius: 0;
  border: none;
  padding: 10px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
}

#annapiskun-payment-modal .modal-header {
  padding: 0 0 8px;
  border-bottom: none;
}

#annapiskun-payment-modal .modal-header .btn-close {
  color: #4a4a4a;
  font-size: 12px;
}

#annapiskun-payment-modal .modal-header .btn-close:focus {
  box-shadow: none;
}

#annapiskun-payment-modal .modal-body {
  padding: 0;
}

.annapiskun-payment-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-block: 20px;
  padding-inline: 10px;
}

.annapiskun-payment-modal-content__title {
  font-family: "Poiret One", sans-serif;
  font-size: 36px;
  margin: 0 0 8px;
  font-weight: 400;
}

.annapiskun-payment-modal-content__text {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  max-width: 420px;
}

.annapiskun-payment-modal-content__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.annapiskun-payment-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #4a4a4a;
  color: #4a4a4a;
  background: #fff;
  width: 100%;
}

.annapiskun-payment-modal__button:hover {
  background: #4a4a4a;
  color: #fff;
  text-decoration: none;
}

.annapiskun-payment-modal__button--primary {
  background: #4a4a4a;
  color: #fff;
}

.annapiskun-payment-modal__button--primary:hover {
  background: #656565;
  border-color: transparent;
  color: #fff;
}

.annapiskun-payment-modal__loading {
  text-align: center;
  padding: 2rem 1rem;
  color: #6c757d;
}

.annapiskun-payment-modal__error {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #b42318;
}
