/* ============================================
   PAYMENT FLOW STYLES
   ============================================ */

/* Payment Flow Page Layout */
.payment-flow-page {
  background: var(--grey-100);
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 0px; /* Account for fixed navbar */
  overflow-x: hidden;
}

/* Payment Flow Navbar - White Background Variant */
.payment-flow-navbar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--grey-200) !important;
  padding: 16px 0 !important;
  position: relative;
}

.payment-flow-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 240px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.payment-flow-navbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
  height: 100%;
}

.payment-flow-navbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.payment-flow-logo {
  height: 32px;
  flex-shrink: 0;
  width: fit-content;
  display: flex;
  align-items: center;
}

.payment-flow-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.payment-flow-navbar-divider {
  width: 1px;
  height: 100%;
  background: var(--grey-200);
  flex-shrink: 0;
}

.payment-flow-navbar-badge {
  height: 32px;
  flex-shrink: 0;
  width: 163px;
  display: flex;
  align-items: center;
}

.payment-flow-navbar-badge img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Secure Checkout Indicator */
.secure-checkout-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.secure-checkout-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.secure-checkout-text {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--grey-600);
  white-space: nowrap;
}

/* Step Navigation Bar */
.step-navigation {
  background: var(--white);
  padding: 16px 24px;
  border-bottom: 1px solid var(--grey-200);
  width: 100%;
  box-sizing: border-box;
}

.step-navigation-container {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  flex: 1;
}

.step-item:not(:last-child) {
  flex: 1 0 0;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--white);
}

.step-number.active {
  background: var(--purple-500);
}

.step-number.completed {
  background: var(--purple-500);
}

.step-number.inactive {
  background: var(--grey-200);
  color: var(--white);
}

.step-label {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
}

.step-label.active {
  color: var(--black);
}

.step-label.inactive {
  color: var(--grey-500);
}

.step-connector {
  flex: 1 0 0;
  height: 1px;
  background: var(--grey-200);
  min-width: 0;
}

/* Payment Flow Content */
.payment-flow-content {
  flex: 1;
  padding: 0px;
  display: flex;
  gap: 16px;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.payment-flow-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Mobile Order Summary */
.mobile-order-summary {
  display: none; /* Hidden by default on desktop */
}

/* Entry Selection Section */
.entry-selection {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.entry-selection::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.entry-selection-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.entry-bundles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-bundle-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 17px 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
}

.entry-bundle-card:hover {
  border-color: var(--purple-300);
}

.entry-bundle-card.selected {
  background: var(--purple-50);
  border: 2px solid var(--purple-300);
  box-shadow: 0 1px 3px rgba(122, 1, 242, 0.1);
}

.entry-bundle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.entry-bundle-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.entry-bundle-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.entry-bundle-card.selected .entry-bundle-title {
  color: var(--purple-500);
}

.entry-bundle-badge {
  padding: 2px 8px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.entry-bundle-badge.popular {
  background: #d8ffe6;
  color: #00a63e;
}

.entry-bundle-badge.best-value {
  background: #dbeafe;
  color: #1447e6;
}

.entry-bundle-badge.maximum-impact {
  background: #f0e2ff;
  color: var(--purple-500);
}

.entry-bundle-description {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--grey-600);
  margin: 0;
}

.entry-bundle-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.entry-bundle-original-price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--grey-500);
  text-decoration: line-through;
  letter-spacing: -0.15px;
  margin: 0;
}

.entry-bundle-price {
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.entry-bundle-card.selected .entry-bundle-price {
  color: var(--purple-500);
}

/* Continue Button */
.payment-continue-btn {
  width: 100%;
  background: linear-gradient(180deg, #7A01F2 0%, #5D00B9 100%);
  border: none;
  border-top: 2px solid rgba(176, 97, 255, 0.32);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(49, 0, 97, 0.32), inset 0 1px 4px rgba(141, 129, 255, 0.4);
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
}

.payment-continue-btn:hover {
  opacity: 0.9;
}

.payment-continue-btn:active {
  opacity: 0.8;
}

.payment-continue-btn-text {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--white);
}

.payment-continue-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-continue-btn-icon svg,
.payment-continue-btn-icon img {
  width: 100%;
  height: 100%;
  fill: var(--white);
}

/* Trust Badge Section */
.payment-trust-badge {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-end;
}

.payment-trust-badge-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.payment-trust-badge-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--grey-700);
  margin: 0;
}

.payment-trust-badge-text {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
  margin: 0;
}

.payment-trust-badge-divider {
  width: 1px;
  height: 100%;
  background: var(--grey-200);
}

.payment-trust-badge-logo {
  height: 23px;
  width: auto;
}

.payment-trust-badge-logo img {
  height: 100%;
  width: auto;
}

/* Order Summary Sidebar */
.order-summary {
  width: 389px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 16px;
  align-self: stretch;
  min-height: 0;
}

.order-summary-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.order-summary-image {
  width: 100%;
  aspect-ratio: 355 / 200;
  border-radius: 4px;
  overflow: hidden;
}

.order-summary-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 355 / 200;
  display: block;
  object-fit: cover;
}

.order-summary-event {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-summary-event-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.order-summary-event-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--grey-500);
  margin: 0;
}

.order-summary-guest-badge {
  background: var(--purple-50);
  border: 1px solid var(--purple-300);
  border-radius: 10px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-summary-guest-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.order-summary-guest-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--purple-500);
}

.order-summary-guest-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-summary-guest-text {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--purple-500);
  flex: 1;
}

.order-summary-pricing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-summary-pricing-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
}

.order-summary-pricing-label {
  flex: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  color: var(--grey-600);
}

.order-summary-pricing-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--black);
}

.order-summary-divider {
  height: 1px;
  background: var(--grey-200);
  width: 100%;
}

.order-summary-charity {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.order-summary-charity-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.order-summary-charity-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--grey-700);
  margin: 0;
}

.order-summary-charity-text {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
  margin: 0;
}

.order-summary-charity-divider {
  width: 1px;
  height: 100%;
  background: var(--grey-200);
}

.order-summary-charity-logo {
  height: 15.673px;
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 1.143px;
}

.order-summary-charity-logo img {
  height: 32px;
  width: auto;
}

.order-summary-charity-logo-text {
  font-family: 'Inria Sans', sans-serif;
  font-size: 8px;
  line-height: 1;
  font-style: italic;
  font-weight: 600;
  color: var(--grey-600);
  text-align: center;
  letter-spacing: 0.48px;
}

/* Account Form Section */
.account-form-section {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.account-form-section::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.account-form-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

/* Account Tabs */
.account-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--grey-200);
  margin: 0 -24px;
  padding: 0 24px;
}

.account-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0 0 10px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--grey-500);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.account-tab.active {
  font-weight: 600;
  color: var(--black);
  border-bottom-color: var(--purple-500);
  opacity: 0.8;
}

.account-tab:hover:not(.active) {
  color: var(--grey-600);
}

/* Account Form */
.account-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.form-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--black);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--purple-300);
}

.form-input::placeholder {
  color: var(--grey-400);
}

.form-input-icon {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-600);
  transition: color 0.2s ease;
}

.form-input-icon:hover {
  color: var(--grey-700);
}

.form-hint {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-500);
  margin: 0;
}

.form-error {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #dc2626;
  margin: 4px 0 0 0;
  display: block;
}

/* Eligibility Verification */
.eligibility-verification {
  background: var(--sand-50, #fffaf5);
  border: 1px solid var(--sand-100, #eee0d4);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.eligibility-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eligibility-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.eligibility-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--grey-700);
  margin: 0;
}

.eligibility-text {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #364153;
  margin: 0;
}

.eligibility-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px;
  align-self: flex-start;
}

.eligibility-button:hover {
  color: var(--grey-700);
  background: rgba(0, 0, 0, 0.02);
}

.eligibility-button svg {
  width: 20px;
  height: 20px;
}

.eligibility-divider {
  height: 1px;
  background: var(--sand-100, #eee0d4);
  width: 100%;
}

.eligibility-footer {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
  margin: 0;
}

/* Form Checkboxes */
.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-checkbox {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.form-checkbox input[type="checkbox"]:checked {
  background-color: var(--purple-500);
  border-color: var(--purple-500);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
  flex: 1;
}

.checkbox-link {
  color: #155dfc;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-link:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 12px 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--grey-700);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--grey-300);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  flex: 1;
  background: linear-gradient(180deg, #7A01F2 0%, #5D00B9 100%);
  border: none;
  border-top: 2px solid rgba(176, 97, 255, 0.32);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(49, 0, 97, 0.32), inset 0 1px 4px rgba(141, 129, 255, 0.4);
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:active {
  opacity: 0.8;
}

.btn-primary span {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--white);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Payment Form Section */
.payment-form-section {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.payment-form-section::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.payment-form-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 6px;
  width: 100%;
}

.payment-method {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--grey-600);
}

.payment-method:hover {
  border-color: var(--grey-300);
}

.payment-method.active {
  background: var(--purple-50);
  border: 2px solid var(--purple-300);
  color: var(--purple-500);
  box-shadow: 0 1px 3px rgba(122, 1, 242, 0.1);
}

.payment-method svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.payment-method:first-child svg {
  width: 24px;
  height: 24px;
}

.payment-method:not(:first-child) svg {
  width: 20px;
  height: 20px;
}

/* Payment Security Message */
.payment-security-message {
  background: #f0fdf4;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.payment-security-message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.payment-security-message p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
  margin: 0;
  flex: 1;
}

/* Payment Form */
.payment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.billing-address-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
  .payment-flow-navbar-container {
    padding: 0 120px;
  }
  
  .step-navigation {
    padding: 16px 120px;
  }
  
  .payment-flow-content {
    padding: 0px;
    max-width: 960px;
  }
}

@media (max-width: 1024px) {
  .payment-flow-navbar-container {
    padding: 0 24px;
  }
}

@media (max-width: 1024px) {
  .step-navigation {
    padding: 16px 24px;
  }
  
  .payment-flow-content {
    padding: 16px 24px;
    flex-direction: column;
    max-width: 960px;
  }
  
  .order-summary {
    width: 100%;
    position: relative;
  }

  .form-row {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn-primary {
    width: 100%;
    flex: none;
    order: -1; /* Move Continue to Payment to top */
  }

  .form-actions .btn-secondary {
    width: 100%;
    order: 1; /* Keep Back at bottom */
  }

  .payment-methods {
    flex-direction: column;
  }

  .payment-method {
    width: 100%;
  }

  .confirmation-detail-row {
    flex-direction: column;
    gap: 4px;
  }

  .confirmation-detail-label {
    width: 100%;
  }

  .confirmation-detail-value {
    text-align: left;
  }

  .confirmation-detail-total {
    flex-direction: column;
    align-items: flex-start;
  }

  .confirmation-detail-total .confirmation-detail-value {
    width: 100%;
    text-align: left;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions .btn-primary {
    width: 100%;
    flex: none;
    order: -1; /* Purple button on top */
  }

  .confirmation-actions .btn-secondary {
    width: 100%;
    order: 1; /* White button on bottom */
  }
}

/* Confirmation Section */
.confirmation-section {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.confirmation-section::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.confirmation-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.confirmation-title {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.confirmation-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-500);
  margin: 0;
}

/* Confirmation Details */
.confirmation-details {
  background: var(--grey-100);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.confirmation-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grey-200);
  font-size: 16px;
  line-height: 24px;
}

.confirmation-detail-row:last-of-type {
  border-bottom: none;
}

.confirmation-detail-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  color: var(--grey-600);
  width: 170px;
  flex-shrink: 0;
}

.confirmation-detail-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--black);
  flex: 1;
  text-align: right;
}

.confirmation-detail-total {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 0px none rgba(0, 0, 0, 0);
  border-image: none;
  font-size: 20px;
  line-height: 24px;
}

.confirmation-detail-total .confirmation-detail-label {
  font-weight: 700;
  color: var(--grey-600);
  flex: 1;
  width: auto;
}

.confirmation-detail-total .confirmation-detail-value {
  font-weight: 700;
  color: var(--black);
  font-size: 20px;
  width: 278px;
  flex: 0 0 auto;
}

/* What Happens Next */
.what-happens-next {
  background: var(--teal-50, #f8ffff);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.what-happens-next-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.what-happens-next-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.what-happens-next-item {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.what-happens-next-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: -2px;
}

.what-happens-next-item p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-600);
  margin: 0;
  flex: 1;
}

.what-happens-next-item p strong {
  font-weight: 700;
}

.confirmation-link {
  color: var(--purple-500);
  text-decoration: none;
}

.confirmation-link:hover {
  text-decoration: underline;
}

/* Confirmation Actions */
.confirmation-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.confirmation-actions .btn-secondary {
  flex: 1;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.confirmation-actions .btn-secondary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.confirmation-actions .btn-primary {
  flex: 1;
}

/* Browse More Link */
.confirmation-browse-link {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--purple-500);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.confirmation-browse-link:hover {
  color: var(--purple-600);
  text-decoration: underline;
}

/* Mobile Responsive Styles (1024px / <1024px) */
@media (max-width: 1024px) {
  /* Global & Layout */
  .payment-flow-navbar-container {
    padding: 0 24px;
  }

  .step-navigation {
    padding: 12px 24px;
  }

  .payment-flow-content {
    padding: 0 24px 16px 24px;
    gap: 0px;
    flex-direction: column;
    max-width: 960px;
    margin-top: 0;
  }

  .order-summary {
    display: none; /* Hide sidebar on tablet/mobile */
  }

  .entry-selection,
  .account-form-section,
  .payment-form-section,
  .confirmation-section {
    padding: 24px;
  }

  /* Mobile Order Summary */
  .mobile-order-summary {
    display: block;
    position: sticky;
    top: 0;
    z-index: 99;
    margin: 0 -24px 16px -24px;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  }

  .mobile-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    cursor: pointer;
    background: var(--white);
    margin: 0;
  }

  .mobile-summary-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-summary-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
  }

  .mobile-summary-chevron {
    color: var(--grey-500);
    transition: transform 0.3s ease;
  }

  .mobile-summary-header.expanded .mobile-summary-chevron {
    transform: rotate(180deg);
  }

  .mobile-summary-total {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
  }

  .mobile-summary-details {
    display: none;
    padding: 0 24px 24px 24px;
    border-top: 1px solid var(--grey-100);
  }

  .mobile-summary-details.expanded {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-summary-event {
    margin-bottom: 8px;
  }

  .mobile-summary-event-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 4px 0;
  }

  .mobile-summary-event-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--grey-500);
    margin: 0;
  }

  .mobile-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-summary-row-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--grey-600);
  }

  .mobile-summary-row-value {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
  }

  .mobile-summary-divider {
    height: 1px;
    background: var(--grey-200);
    width: 100%;
  }

  .mobile-summary-charity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mobile-summary-charity-text {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: var(--grey-600);
  }
}

@media (max-width: 480px) {
  /* Global & Layout */
  .payment-flow-navbar-container {
    padding: 0 16px;
  }

  .step-navigation {
    padding: 12px 16px;
  }

  .payment-flow-content {
    padding: 0 16px 16px 16px;
    margin-top: 0;
    gap: 0;
  }

  .entry-selection,
  .account-form-section,
  .payment-form-section,
  .confirmation-section {
    padding: 16px;
  }

  /* Navbar */
  .payment-flow-navbar-left {
    gap: 12px;
  }
  
  .payment-flow-navbar-badge {
    width: auto;
    height: 24px;
  }
  
  .payment-flow-navbar-badge img {
    height: 100%;
    width: auto;
  }

  .payment-flow-logo img {
    height: 24px;
  }

  .payment-flow-navbar-right {
    display: none;
  }

  /* Step Navigation */
  .step-label {
    display: none;
  }
  
  .step-item {
    justify-content: center;
    flex: 0 0 auto;
  }
  
  .step-navigation-container {
    justify-content: space-between;
  }

  /* Mobile Order Summary */
  .mobile-order-summary {
    margin: 0 -16px 16px -16px;
  }

  .mobile-summary-header {
    padding: 16px;
    margin: 0;
  }

  .mobile-summary-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-summary-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
  }

  .mobile-summary-chevron {
    color: var(--grey-500);
    transition: transform 0.3s ease;
  }

  .mobile-summary-header.expanded .mobile-summary-chevron {
    transform: rotate(180deg);
  }

  .mobile-summary-total {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
  }

  .mobile-summary-details {
    padding: 0 16px 16px 16px;
  }

  .mobile-summary-details.expanded {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-summary-event {
    margin-bottom: 8px;
  }

  .mobile-summary-event-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 4px 0;
  }

  .mobile-summary-event-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--grey-500);
    margin: 0;
  }

  .mobile-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-summary-row-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--grey-600);
  }

  .mobile-summary-row-value {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
  }

  .mobile-summary-divider {
    height: 1px;
    background: var(--grey-200);
    width: 100%;
  }

  .mobile-summary-charity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mobile-summary-charity-text {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: var(--grey-600);
  }

  /* Step 1: Entry Selection */
  .entry-bundle-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .entry-bundle-pricing {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
  }

  .entry-bundle-price {
    font-size: 24px;
    line-height: 32px;
  }

  /* Step 2 & 3: Forms */
  .form-row {
    flex-direction: column;
  }
  
  .payment-methods {
    flex-direction: column;
  }
  
  .payment-method {
    justify-content: center;
  }

  /* Step 4: Confirmation */
  .confirmation-header {
    gap: 12px;
  }
  
  .confirmation-title {
    font-size: 20px;
    line-height: 28px;
  }
  
  .confirmation-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .confirmation-detail-label {
    width: 100%;
    font-size: 14px;
  }
  
  .confirmation-detail-value {
    text-align: left;
    width: 100%;
  }

  .confirmation-detail-total {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .confirmation-detail-total .confirmation-detail-value {
    width: auto;
    text-align: right;
  }
  
  .confirmation-detail-total .confirmation-detail-label {
    width: auto;
    flex: 1;
  }

  /* Form Actions Reordering */
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn-primary,
  .form-actions .btn-secondary {
    width: 100%;
  }

  /* Trust Badge - Vertical Layout on Mobile */
  .payment-trust-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .payment-trust-badge-content {
    width: 100%;
  }

  .payment-trust-badge-divider {
    width: 100%;
    height: 1px;
  }

  .payment-trust-badge-logo {
    align-self: flex-start;
  }
}
