/* /tech-terminal-checkout/styles.css */

/* Billing-contact picker (shown when locking finds no Stripe email) */
.billing-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}
.billing-contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.billing-contact-option:hover {
  border-color: var(--brand-blue);
  background: rgba(2, 108, 207, 0.04);
}
.billing-contact-option input {
  margin: 0;
  flex-shrink: 0;
}
.billing-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.billing-contact-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}
.billing-contact-email {
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

:root {
  /* Smart Cloud Brand Colors */
  --brand-green: #29ad10;
  --brand-green-light: #eaf7e8;
  --brand-blue: #026ccf;
  --brand-red: #d93025;
  --brand-yellow: #f59e0b;
  --brand-orange: #f97316;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --bg-page: #f7f9fc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shadow-card:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-modal:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(2, 108, 207, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(41, 173, 16, 0.1),
      transparent 24%
    ),
    linear-gradient(180deg, #f4f7fb 0%, #eef4f9 100%);
}

body.modal-open {
  overflow: hidden;
}

/* Animations */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes pulse-yellow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}
@keyframes pulse-orange {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}
.pulse-active {
  animation: pulse-yellow 1.5s infinite;
}
.pulse-orange-active {
  animation: pulse-orange 1.5s infinite;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

.loader-spinner {
  border: 4px solid #e2e8f0;
  border-top: 4px solid var(--brand-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

/* Main Wrapper */
.checkout-wrapper {
  max-width: 1080px;
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
}

.split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 28px;
  align-items: start;
}

@media (max-width: 820px) {
  .checkout-wrapper {
    border-radius: 24px;
  }
  .split-layout {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .sidebar-column {
    position: relative !important;
    top: 0 !important;
  }
}

.header {
  padding: 32px 28px 22px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  text-align: center;
  background:
    radial-gradient(
      circle at center top,
      rgba(41, 173, 16, 0.1),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(248, 250, 252, 0.94) 100%
    );
}
.header-logo {
  height: 32px;
  margin-bottom: 18px;
}
.header h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: #17203a;
  font-weight: 700;
}
.header p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
}

.ticket-badge {
  display: inline-flex;
  align-items: center;
  background-color: #fef9c3;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  border: 1px solid #fde047;
}
.ticket-badge svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  fill: currentColor;
}

/* Sidebar Elements */
.sidebar-column {
  position: sticky;
  top: 24px;
  align-self: start;
}

.summary-box,
.info-card,
#tax-calculation-container {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.summary-box {
  padding: 20px;
  margin-bottom: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.86) 100%
  );
}
.info-card {
  padding: 18px;
  margin-bottom: 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.summary-row:last-of-type {
  margin-bottom: 0;
}
.summary-row span.value {
  font-weight: 500;
  color: var(--text-main);
  text-align: right;
}

.summary-row.total-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  align-items: center;
}
.total-row span.value {
  color: var(--brand-green);
}

.payments-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: none;
}
.payment-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.payment-item span.amt {
  color: var(--text-main);
  font-weight: 500;
}
.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #cbd5e1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.info-card h4 {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-card p {
  margin: 0 0 4px 0;
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
}
.info-card p.sub-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #17203a;
}

.select-input,
.fee-input {
  width: 100%;
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--text-main);
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: all 0.2s;
}
.select-input:focus,
.fee-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(2, 108, 207, 0.1);
}
.fee-input {
  width: 90px;
  margin-left: 8px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

/* Enhanced Option Card Styling */
.option-card {
  display: flex;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0;
}
.option-card.full-width {
  grid-column: 1 / -1;
  margin-bottom: 12px;
}
.option-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}
.option-card:has(input:checked) {
  background: linear-gradient(
    180deg,
    rgba(234, 247, 232, 0.92) 0%,
    rgba(239, 246, 255, 0.92) 100%
  );
  border-color: rgba(41, 173, 16, 0.45);
  box-shadow: 0 18px 34px rgba(41, 173, 16, 0.1);
}

.option-card input[type="checkbox"],
.option-card input[type="radio"],
.refund-item-cb {
  margin: 4px 16px 0 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--brand-green);
}
.refund-item-cb {
  accent-color: var(--brand-red);
  margin-top: 0;
  margin-right: 12px;
}
.option-text {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.option-text strong {
  font-size: 14px;
  font-weight: 600;
  color: #17203a;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.option-card:has(input[type="radio"]:checked) .option-text strong {
  color: var(--brand-green);
}
.option-text span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Buttons matching Membership Terminal */
.primary-btn,
.refund-btn {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  background: linear-gradient(
    135deg,
    var(--brand-green) 0%,
    var(--brand-blue) 100%
  );
  box-shadow: 0 18px 30px rgba(2, 108, 207, 0.18);
  color: #ffffff;
}
.primary-btn.blue-btn {
  background: linear-gradient(135deg, #026ccf 0%, #0f172a 100%);
  box-shadow: 0 18px 30px rgba(2, 108, 207, 0.15);
}
.primary-btn:hover {
  background: linear-gradient(135deg, #23960e 0%, #0256a6 100%);
  transform: translateY(-1px);
}
.primary-btn.blue-btn:hover {
  background: linear-gradient(135deg, #0256a6 0%, #111827 100%);
  transform: translateY(-1px);
}
.primary-btn:disabled {
  background: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none;
}
.primary-btn.terminal-waiting:disabled {
  background-color: var(--brand-orange) !important;
  background-image: linear-gradient(
    135deg,
    var(--brand-orange) 0%,
    #ea580c 100%
  ) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 18px 30px rgba(249, 115, 22, 0.18) !important;
}
.primary-btn svg,
.refund-btn svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.refund-btn {
  background: linear-gradient(135deg, var(--brand-red) 0%, #991b1b 100%);
  box-shadow: 0 18px 30px rgba(217, 48, 37, 0.18);
}
.refund-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  transform: translateY(-1px);
}
.refund-btn:disabled {
  background: #fca5a5 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none;
}

.secondary-btn,
.small-btn {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.03);
  transition: 0.2s;
  justify-content: center;
  align-items: center;
}
.secondary-btn:hover,
.small-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.small-btn {
  padding: 10px 16px;
  font-size: 13px;
  margin-top: 0;
  display: inline-flex;
  width: auto;
}
.small-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.footer-note {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 30px;
}

#tax-calculation-container {
  text-align: center;
  padding: 34px 22px;
  margin-bottom: 24px;
  border-style: solid;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.86) 100%
  );
}

#refund-forms-container {
  display: none;
}
#partial-refund-fields {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 16px 0 12px 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.category-header:first-child {
  margin-top: 0;
}
.category-title {
  font-size: 14px;
  text-transform: uppercase;
  color: #17203a;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.bundle-select-all {
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-muted);
}
.bundle-select-all input {
  cursor: pointer;
  accent-color: var(--brand-blue);
  margin: 0;
  width: 16px;
  height: 16px;
}

.sop-list {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.sop-list li {
  margin-bottom: 6px;
}

details > summary {
  list-style: none;
  outline: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details > summary::before {
  content: "► ";
  font-size: 10px;
  display: inline-block;
  transition: transform 0.2s;
  margin-right: 4px;
}
details[open] > summary::before {
  transform: rotate(90deg);
}

/* Toast Stack Styles */
.toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3000;
  width: min(420px, calc(100vw - 28px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 15px 15px 15px 14px;
  border-radius: 16px;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(12px);
  animation: slideUp 0.24s ease-out;
}
.toast.error {
  background: linear-gradient(
    135deg,
    rgba(127, 29, 29, 0.97),
    rgba(153, 27, 27, 0.92)
  );
}
.toast.success {
  background: linear-gradient(
    135deg,
    rgba(6, 95, 70, 0.96),
    rgba(17, 94, 89, 0.92)
  );
}
.toast.warn {
  background: linear-gradient(
    135deg,
    rgba(146, 64, 14, 0.96),
    rgba(180, 83, 9, 0.92)
  );
}

.toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.toast-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.toast-message {
  font-size: 13px;
  line-height: 1.5;
}
.toast-details {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.92);
}
.toast-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}
.toast-close:hover {
  color: #ffffff;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modals */
.ceremony-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  animation: fadeInOverlay 0.3s ease;
}

.ceremony-modal {
  background: #ffffff;
  width: 95%;
  max-width: 420px;
  height: auto;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
  animation: slideUp 0.3s ease-out;
}

/* SUCCESS VIEW */
#success-view {
  display: none;
  position: relative;
  overflow: hidden;
  padding: 54px 30px 58px;
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(2, 108, 207, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(41, 173, 16, 0.12),
      transparent 26%
    ),
    linear-gradient(180deg, #f8fbff 0%, #fbfcfe 58%, #ffffff 100%);
}
#success-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.success-shell {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.success-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.success-mark {
  width: 76px;
  height: 76px;
  margin: 28px auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #29ad10, #026ccf);
  box-shadow: 0 20px 34px rgba(2, 108, 207, 0.18);
}
.success-mark.refund-mark {
  background: linear-gradient(135deg, var(--brand-red), #991b1b);
  box-shadow: 0 20px 34px rgba(217, 48, 37, 0.18);
}
.success-mark svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
}
.success-headline {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #17203a;
  font-weight: 700;
}
.success-subcopy {
  margin: 16px auto 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
}
.success-pill-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}
.success-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
}
.success-pill.refund-pill .dot {
  background: linear-gradient(135deg, var(--brand-red), #991b1b);
}

.success-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.success-stat {
  padding: 18px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
}
.success-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.success-stat-value {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #17203a;
}
.success-stat-sub {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}
.success-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(203, 213, 225, 0.95),
    rgba(255, 255, 255, 0)
  );
  margin: 34px 0 24px;
}
.success-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: left;
}
.success-section-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.success-checklist {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  max-width: none;
  margin-top: 0;
}
.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}
.check-item:last-child {
  margin-bottom: 0;
}
.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(41, 173, 16, 0.14),
    rgba(2, 108, 207, 0.14)
  );
  color: var(--brand-green);
  margin-top: 1px;
}
.check-icon.refund-icon {
  background: linear-gradient(
    135deg,
    rgba(217, 48, 37, 0.14),
    rgba(153, 27, 27, 0.14)
  );
  color: var(--brand-red);
}
.check-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.check-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}
.check-meta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}
.success-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.premium-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  transition: all 0.2s;
}
.premium-close-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.22);
}
