/* XChange 2025 Registration Styles */

/* Quantity Control Styles */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--slate-200);
}

.quantity-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin: 0;
}

.delegate-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: var(--slate-100);
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--slate-600);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--slate-200);
    color: var(--slate-800);
}

.qty-btn:active {
    background: var(--slate-300);
}

.delegate-qty-input {
    border: none;
    width: 50px;
    height: 32px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-800);
    background: white;
    outline: none;
}

.delegate-qty-input:focus {
    background: var(--slate-50);
}

.total-price {
    font-weight: 600;
    color: var(--indigo-600);
    margin-left: auto;
}

/* Custom Checkbox Styles */
.pricing-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.pricing-option {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.pricing-option:last-child {
    margin-bottom: 0;
}

.pricing-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.pricing-option input[type="checkbox"]:checked + .pricing-label {
    border-color: var(--indigo-500);
    background-color: var(--indigo-50);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.pricing-option input[type="checkbox"]:checked + .pricing-label::before {
    opacity: 1;
    transform: scale(1);
}

.pricing-label {
    position: relative;
    display: block;
    padding: 20px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-xl);
    background-color: var(--white);
    transition: all 0.2s ease;
    cursor: pointer;
}

.pricing-label::before {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--indigo-500);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.pricing-label:hover {
    border-color: var(--indigo-300);
    background-color: var(--slate-50);
}

/* CSS Variables */
:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-300: #a5b4fc;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --fuchsia-500: #d946ef;
  --orange-400: #fb923c;
  --orange-100: #fed7aa;
  --orange-300: #fdba74;
  --orange-700: #c2410c;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-400: #f87171;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-600: #16a34a;
  --green-700: #15803d;
  --white: #ffffff;
  --black: #000000;
  --maxw: 1200px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --shadow: 0 10px 20px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .08);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #ededed;
  color: var(--slate-900);
  font: 16px/1.5 "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  scroll-behavior: smooth;
}

button, input, select, textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 56px 0;
}

.hero-section {
  padding: 56px 0 5px 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.1;
}

h1 { font-weight: 900; }
h2 { font-weight: 800; }

p {
  margin: 12px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  text-align: center;
  min-height: 44px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--indigo-700);
}

.btn-secondary {
  background: var(--slate-200);
  color: var(--slate-700);
}

.btn-secondary:hover {
  background: var(--slate-300);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 14px;
  min-height: 36px;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Collapsible Cards */
.collapsible-card {
  overflow: hidden;
  transition: height 0.3s ease;
  height: auto;
}

.collapsible-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  transition: all 0.3s ease;
  padding: 16px;
}

.collapsible-header:hover {
  background-color: var(--slate-50);
  border-radius: 8px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  flex: 1;
  padding: 0;
}

.header-content p.muted {
  flex-basis: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--slate-500);
}

.collapse-icon {
  margin-left: 16px;
  transition: transform 0.3s ease;
  color: var(--slate-500);
  font-size: 14px;
  font-weight: bold;
}

.collapse-icon.rotated {
  transform: rotate(180deg);
}

/* Individual quantity controls for sponsorship options */
.option-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.unit-price {
  font-size: 18px;
  color: var(--slate-900);
  font-weight: 600;
}

.quantity-control {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background-color: var(--slate-50);
  border-radius: 6px;
  border: 1px solid var(--slate-200);
  min-height: 40px;
}

.quantity-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.quantity-input {
  width: 60px;
  padding: 6px 8px;
  border: 1px solid var(--slate-300);
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  background-color: white;
  height: 32px;
  box-sizing: border-box;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 1px var(--indigo-500);
}

.total-price {
  font-weight: 600;
  color: var(--indigo-600);
  font-size: 14px;
  margin-left: auto;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 32px;
}

.collapsible-content {
  transition: all 0.3s ease;
  overflow: hidden;
}

.collapsible-content.expanded {
  display: block !important;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--slate-700);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Utilities */
.muted {
  color: var(--slate-500);
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-6 {
    margin-top: 48px;
}

.muted.mt-1 {
    margin-top: 0;
    padding-top: 0;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 1.1;
}

.overline {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-600);
}

/* Grid System */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Delegate Pass Card Highlighting */
.delegate-pass-card {
  position: relative;
  background: linear-gradient(135deg, var(--indigo-600), var(--fuchsia-500), var(--orange-400));
  border: 2px solid transparent;
  background-clip: padding-box;
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15), 0 4px 12px rgba(79, 70, 229, 0.1);
  color: white;
}

.delegate-pass-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--indigo-600), var(--fuchsia-500), var(--orange-400));
  border-radius: var(--radius-2xl);
  z-index: -1;
}

.delegate-pass-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.delegate-pass-card h3,
.delegate-pass-card p,
.delegate-pass-card li,
.delegate-pass-card .muted {
  color: white;
}

.delegate-pass-card .btn-primary {
  background: white;
  color: var(--slate-900);
  border: none;
}

.delegate-pass-card .btn-primary:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

/* Text alignment utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Registration-specific styles */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 32px 0;
    padding: 0 16px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.8;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--slate-200);
    color: var(--slate-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--indigo-600);
    color: white;
}

.progress-step.completed .step-number {
    background: var(--green-600);
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--slate-600);
}

.progress-step.active .step-label {
    color: var(--indigo-600);
}

/* Form Steps */
.registration-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-header {
    text-align: center;
    margin-bottom: 32px;
}

/* Pass Selection Styles */
.pass-section {
    height: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
}

.pass-section .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.delegate-highlight {
    border: 2px solid var(--indigo-600);
    position: relative;
    background: linear-gradient(135deg, var(--indigo-100), var(--white));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.highlight-badge {
    background: var(--indigo-600);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.optional-badge {
    background: var(--slate-200);
    color: var(--slate-600);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-options, .table-options, .sponsorship-options, .other-sponsorship-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-option {
    position: relative;
}

.pricing-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-label {
    display: block;
    padding: 16px;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-option input[type="radio"]:checked + .pricing-label {
    border-color: var(--indigo-600);
    background: var(--indigo-50);
}

.pricing-details {
    display: flex;
    justify-content: space-between;
    align-items: left;
    margin-bottom: 4px;
}

.price {
    font-weight: 700;
    color: var(--indigo-600);
}

.pricing-note {
    font-size: 12px;
    color: var(--slate-500);
}

/* Countdown Timer */
.countdown-timer {
    margin-top: 8px;
    padding: 6px 10px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timer-label {
    font-size: 11px;
    color: var(--slate-600);
    font-weight: 500;
}

.timer-display {
    font-size: 14px;
    font-weight: 600;
    color: var(--indigo-600);
    text-align: right;
    flex: 1;
    margin-left: 16px;
}

#countdownTimer {
    text-align: center;
    justify-content: center;
}

/* Disabled pricing option */
.pricing-option input[type="radio"]:disabled + .pricing-label {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--slate-50);
}

.pricing-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--slate-50);
}

/* Quantity Selector */
.quantity-selector {
    margin-top: 16px;
    margin-top: auto;
    padding-top: 16px;
}


.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--slate-300);
    background: var(--white);
    color: var(--slate-600);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--slate-50);
    border-color: var(--indigo-600);
    color: var(--indigo-600);
}

/* Delegate quantity controls */
.delegate-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
}

.delegate-qty-input {
    width: 80px;
    height: 40px;
    border: 1px solid var(--slate-300);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    background: var(--white);
    outline: none;
}

.qty-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.qty-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.qty-input {
    width: 80px;
    height: 40px;
    border: 1px solid var(--slate-300);
    border-left: none;
    border-right: none;
    text-align: center;
    font-weight: 600;
    background: var(--white);
}

.qty-input:focus {
    outline: none;
    border-color: var(--indigo-600);
}

/* Table Options */
.table-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-option input[type="checkbox"],
.table-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.table-option input[type="radio"]:checked + .table-label {
    border-color: var(--indigo-600);
    background: var(--indigo-50);
}

.table-label {
    cursor: pointer;
}

.table-label {
    display: block;
    padding: 16px;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.table-option input[type="checkbox"]:checked + .table-label,
.table-option input[type="radio"]:checked + .table-label {
    border-color: var(--indigo-600);
    background: var(--indigo-50);
}

.table-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.table-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--slate-500);
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 20px;
}

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

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--slate-100);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 8px;
    border-top: 2px solid var(--slate-200);
    margin-top: 8px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* New grid layouts for delegate forms */
.form-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Tablet: 3-column becomes 2-column for better readability */
@media (max-width: 992px) {
    .form-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--slate-700);
    font-size: 14px;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--indigo-600);
    box-shadow: 0 0 0 3px var(--indigo-100);
}

.form-input:invalid {
    border-color: var(--red-400);
}

/* Delegate Details */
.delegate-card {
    margin-bottom: 24px;
    border-left: 4px solid var(--indigo-600);
}

.delegate-card-header {
    background: var(--indigo-50);
    padding: 16px;
    border-radius: 12px 12px 0 0;
    margin: -16px -16px 16px -16px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.form-actions .btn {
    min-width: 140px;
}

/* Review Styles */
.review-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--slate-100);
}

.review-item:last-child {
    border-bottom: none;
}

.total-card {
    background: linear-gradient(135deg, var(--indigo-50), var(--white));
    border: 2px solid var(--indigo-200);
}

.final-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: var(--indigo-700);
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-content {
    background: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-600);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-indicator {
        gap: 16px;
        overflow-x: auto;
        padding: 0 16px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid-2col,
    .form-grid-3col {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .grid.grid-2 {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .quantity-input {
        justify-content: center;
    }
    
    .payment-label {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .progress-indicator {
        gap: 12px;
    }
    
    .success-content {
        padding: 32px 24px;
    }
    
    .pricing-details,
    .table-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Animation for step transitions */
.form-step {
    animation: fadeIn 0.3s ease-in-out;
}

/* Timer pulse animation */
.timer-display {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* Order Summary */
.order-summary {
    position: sticky;
    padding-top: 20px !important;
    padding-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error states */
.form-input.error {
    border-color: var(--red-400);
    background: var(--red-100);
}

.error-message {
    color: var(--red-600);
    font-size: 12px;
    margin-top: 4px;
}

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

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--indigo-600);
    background: var(--indigo-50);
}

.payment-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-description {
    font-size: 14px;
    color: var(--slate-600);
}

.payment-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.payment-badge.recommended {
    background: var(--indigo-600);
    color: white;
}

/* Bank Transfer Details */
.bank-transfer-content {
    max-width: 600px;
}

.bank-details {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 20px;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--slate-200);
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item.highlight {
    background: var(--indigo-50);
    margin: 0 -12px;
    padding: 12px;
    border-radius: 6px;
    border-bottom: 1px solid var(--indigo-200);
}

.transfer-notes {
    background: var(--orange-50);
    border: 1px solid var(--orange-200);
    border-radius: 8px;
    padding: 16px;
}

/* Payment Processing */
.payment-processing {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--slate-200);
    border-top: 4px solid var(--indigo-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Loading state */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Actions Styling */
.form-actions.mt-6 {
    padding-top: 20px;
}

/* Mobile-Responsive Popup/Modal Styles */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.success-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    margin: auto;
}

.bank-transfer-content {
    max-width: 600px;
}

.success-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.bank-details {
    background: var(--slate-50);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--slate-200);
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item.highlight {
    background: var(--indigo-50);
    margin: 8px -12px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.transfer-notes {
    background: var(--orange-100);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.transfer-notes h3 {
    margin: 0 0 12px 0;
    color: var(--orange-700);
}

.transfer-notes ul.list {
    margin: 0;
    padding-left: 20px;
}

.transfer-notes ul.list li {
    margin: 8px 0;
    color: var(--slate-700);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .success-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .success-content {
        padding: 20px;
        max-height: calc(100vh - 40px);
        margin: 0;
    }
    
    .bank-transfer-content {
        max-width: 100%;
    }
    
    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .bank-detail-item strong {
        font-size: 14px;
        color: var(--slate-600);
    }
    
    .bank-detail-item span {
        font-size: 16px;
        font-weight: 600;
    }
    
    .success-icon {
        font-size: 36px;
    }
    
    .btn {
        width: 100%;
        margin: 8px 0 !important;
    }
}

/* Form help text styling */
.form-group .form-help {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 4px;
    display: block;
    font-weight: normal;
}
