/* Order / payment page */
.order-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f6ff 0%, #f8fafc 50%, #fff 100%);
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.order-back {
  color: #0047bb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.order-logo {
  text-decoration: none;
}

.order-main {
  padding: 2rem 1rem 3rem;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.order-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.order-uk .order-badge {
  background: #dbeafe;
  color: #0047bb;
}

.order-jp .order-badge {
  background: #ffe4e6;
  color: #c41e3a;
}

.order-summary h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.order-summary-text {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.order-price-box {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-price-box strong {
  font-size: 1.75rem;
  color: #0047bb;
}

.order-jp .order-price-box strong {
  color: #c41e3a;
}

.order-trust-list {
  list-style: none;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.8;
}

.order-cancelled-note {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.order-demo-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #b45309;
  background: #fffbeb;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.order-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border: 2px solid #e2e8f0;
}

.order-uk .order-form-wrap {
  border-color: rgba(0, 71, 187, 0.25);
}

.order-jp .order-form-wrap {
  border-color: rgba(196, 30, 58, 0.25);
}

.order-checkout-form label {
  display: block;
  margin-bottom: 0.85rem;
}

.order-checkout-form label span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.order-checkout-form input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font: inherit;
}

.order-checkout-form input:focus {
  outline: none;
  border-color: #0047bb;
  box-shadow: 0 0 0 3px rgba(0, 71, 187, 0.12);
}

.order-jp .order-checkout-form input:focus {
  border-color: #c41e3a;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.payment-processing {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-processing[hidden] {
  display: none;
}

.payment-processing-inner {
  text-align: center;
  color: #fff;
}

.payment-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-processing-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.payment-processing-sub {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}
