/* Secure server-side payment status and receipt panel */
.payment-final-confirmation { display: none !important; }
.secure-payment-panel {
  margin-top: 1.25rem;
  border: 1px solid #c9dfe4;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fcfd, #eef7f8);
  padding: 1.1rem;
  box-shadow: 0 14px 32px rgba(18, 68, 82, 0.09);
}
.secure-payment-panel[hidden] { display: none !important; }
.secure-payment-header { display: flex; align-items: flex-start; gap: .8rem; }
.secure-payment-shield {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  display: grid; place-items: center; background: #0d7184; color: #fff;
  font-weight: 800; font-size: 1.05rem;
}
.secure-payment-header h4 { margin: 0 0 .2rem; color: #173b4a; font-size: 1.05rem; }
.secure-payment-header p { margin: 0; color: #526772; line-height: 1.45; }
.secure-payment-reference {
  margin-top: .85rem; padding: .7rem .8rem; border-radius: 10px;
  background: #fff; border: 1px dashed #9abfc8; color: #274653;
  font-size: .94rem; overflow-wrap: anywhere;
}
.secure-payment-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .9rem; }
.secure-payment-actions .btn { margin: 0; }
.secure-payment-receipt {
  margin-top: .95rem; padding: .9rem; border-radius: 12px;
  background: #ecf9ef; border: 1px solid #9ed6aa;
}
.secure-payment-receipt strong { color: #17642d; }
.secure-payment-receipt p { margin: .3rem 0 .7rem; color: #365b40; }
.secure-payment-error { margin-top: .8rem; color: #a61b1b; font-weight: 700; }
.secure-payment-warning {
  margin-top: .8rem; padding: .7rem .8rem; border-radius: 10px;
  color: #74510a; background: #fff8df; border: 1px solid #ead28a;
}
#securePaypalButtons { margin-top: 1rem; max-width: 520px; }
.payment-choice-option.is-unavailable { opacity: .52; cursor: not-allowed; }
.payment-choice-option.is-unavailable input { pointer-events: none; }
.payment-action-note.secure-note { max-width: 440px; }
@media (max-width: 640px) {
  .secure-payment-panel { padding: .9rem; }
  .secure-payment-actions { flex-direction: column; }
  .secure-payment-actions .btn { width: 100%; }
}

/* The former browser-only CSV/password administration is disabled in the secure edition. */
#paymentCsvAccessPanel,
#paymentCsvViewer,
#atelier1CsvViewer,
#atelier2CsvViewer,
#atelier3CsvViewer,
#participantSaveMessage { display: none !important; }
