/* Simple Header and Footer for Embeddable Form */
.simple-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.simple-header .logo img {
    height: 40px;
    width: auto;
}

.simple-footer {
    background: #f9fafb;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
}

.simple-footer p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Bell Curves Specific Styles */
.bell-curves-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: clamp(16px, 3vw, 32px) 0;
    position: relative;
    overflow: hidden;
}

.bell-curves-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation: gradientShift 12s ease-in-out infinite;
    z-index: 1;
}

.bell-curves-hero .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.bell-curves-hero .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 5vw, 56px);
    height: clamp(40px, 5vw, 56px);
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    -webkit-backdrop-filter: saturate(120%) blur(2px);
    backdrop-filter: saturate(120%) blur(2px);
    overflow: hidden;
    flex-shrink: 0;
}

.bell-curves-hero .title {
    color: #fff;
    line-height: 1.2;
    flex: 1;
}

.bell-curves-hero .title h1 {
    font-size: clamp(20px, 2.4vw, 28px);
    margin: 0;
}

.bell-curves-hero .title .subtitle {
    opacity: 0.9;
    display: block;
    margin-top: 4px;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    25% { background: linear-gradient(135deg, #6a7ce8 0%, #7a4ba4 100%); }
    50% { background: linear-gradient(135deg, #6d80ea 0%, #7e4ea6 100%); }
    75% { background: linear-gradient(135deg, #7083ec 0%, #8251a8 100%); }
    100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
}

.bell-curves-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.bell-curves-hero .subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.bell-curves-hero .powered-by {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.signup-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.signup-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.progress-step {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

@media (max-width: 768px) {
    .progress-step {
        margin: 0 10px;
        flex-direction: column;
        text-align: center;
    }
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e1e5e9;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
    background: #4A90E2;
    color: white;
}

.progress-step.completed .progress-circle {
    background: #4CAF50;
    color: white;
}

.progress-label {
    font-weight: 500;
    color: #666;
}

.progress-step.active .progress-label {
    color: #4A90E2;
}

.form-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

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

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

.form-section h3 {
    color: #4A90E2;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e5e9;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafafa;
    box-sizing: border-box;
    margin-bottom: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
    box-shadow: 0 0 0 4px rgba(74,144,226,0.2), 0 4px 12px rgba(74,144,226,0.15);
    transform: translateY(-1px);
}

.form-group.required label::after {
    content: " *";
    color: #e74c3c;
}

/* Badge Selection Component */
.badge-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.badge-option {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 20px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
    min-height: 40px;
    justify-content: center;
    min-width: 60px;
}

.badge-option:hover {
    border-color: #4A90E2;
    background: rgba(74, 144, 226, 0.05);
    transform: translateY(-1px);
}

.badge-option.selected {
    border-color: #4A90E2;
    background: #4A90E2;
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    font-weight: 600;
    transform: translateY(-1px);
}

.badge-option:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.badge-option:focus:not(.selected) {
    border-color: #4A90E2;
    background: rgba(74, 144, 226, 0.05);
}

/* Optional badge styling */
.badge-selection.optional .badge-option {
    border-style: dashed;
    opacity: 0.8;
}

.badge-selection.optional .badge-option:hover {
    opacity: 1;
    border-style: solid;
}

.badge-selection.optional .badge-option.selected {
    border-style: solid;
    opacity: 1;
}

/* Mobile responsiveness for badges */
@media (max-width: 768px) {
    .badge-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .badge-option {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 36px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .badge-selection {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Flatpickr Date Picker Styling */
#flatpickr-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

#flatpickr-input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

#flatpickr-input::placeholder {
    color: #9ca3af;
}

/* Flatpickr Calendar Dropdown Styling */
.flatpickr-calendar {
    font-family: 'Inter', sans-serif !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
}

.flatpickr-months {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%) !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 16px !important;
}

.flatpickr-current-month {
    color: white !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

.flatpickr-weekdays {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%) !important;
    color: white !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 8px 0 !important;
}

.flatpickr-day {
    color: #374151 !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    margin: 2px !important;
}

.flatpickr-day:hover {
    background: rgba(74, 144, 226, 0.1) !important;
    color: #4A90E2 !important;
    border-color: transparent !important;
}

.flatpickr-day.selected {
    background: #4A90E2 !important;
    color: white !important;
    font-weight: 600 !important;
    border-color: #4A90E2 !important;
}

.flatpickr-day.selected:hover {
    background: #357ABD !important;
    border-color: #357ABD !important;
}

.flatpickr-day.disabled {
    color: #d1d5db !important;
    cursor: not-allowed !important;
}

.flatpickr-day.disabled:hover {
    background: transparent !important;
    color: #d1d5db !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    top: 16px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    transition: all 0.2s ease !important;
    color: white !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: white !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .flatpickr-calendar {
        width: 100% !important;
        max-width: 320px !important;
    }
    
    .flatpickr-months {
        padding: 12px !important;
    }
    
    .flatpickr-current-month {
        font-size: 16px !important;
    }
    
    .flatpickr-day {
        font-size: 14px !important;
        padding: 8px !important;
    }
}

/* Additional form spacing fixes */
.form-group {
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Enhanced Checkout Layout */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.purchase-summary-card,
.payment-details-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.purchase-summary-card h3,
.payment-details-card h3 {
    margin: 0 0 20px 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.summary-item.total {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1f2937;
    background: #f9fafb;
    margin: 16px -24px -24px -24px;
    padding: 16px 24px;
    border-radius: 0 0 12px 12px;
}

.summary-label {
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    color: #1f2937;
    font-weight: 600;
}

.payment-plan-info {
    margin-top: 20px;
    padding: 16px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.payment-plan-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #1e40af;
}

.stripe-security-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 0.875rem;
    font-weight: 500;
}

.stripe-card-element {
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.stripe-errors {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 8px;
}

/* Enhanced Payment Card UI */
.payment-plan-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.payment-plan-toggle {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.toggle-label {
    flex: 1;
    cursor: pointer;
}

.toggle-label input[type="radio"] {
    display: none;
}

.toggle-option {
    display: block;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s;
}

.toggle-label input[type="radio"]:checked + .toggle-option {
    border-color: #3b82f6;
    background: #eff6ff;
}

.toggle-option strong {
    display: block;
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 4px;
}

.toggle-description {
    color: #6b7280;
    font-size: 0.875rem;
}

.payment-plan-details {
    display: none;
    margin-top: 16px;
}

.toggle-label input[type="radio"]:checked + .toggle-option + .payment-plan-details,
.toggle-label input[type="radio"]:checked ~ .payment-plan-details {
    display: block;
}

.installment-breakdown {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
}

.installment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.installment-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.installment-amount {
    color: #1f2937;
    font-weight: 600;
}

.installment-note {
    margin: 12px 0 0 0;
    color: #92400e;
    font-size: 0.875rem;
}

.ach-only-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.ach-payment-info {
    margin-top: 12px;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
}

.ach-payment-info p {
    margin: 0 0 4px 0;
    font-size: 0.8rem;
    color: #1e40af;
}

.ach-payment-info p:last-child {
    margin-bottom: 0;
}

.payment-field-group {
    margin-bottom: 20px;
}

.payment-field-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.payment-field-group input,
.payment-field-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.payment-field-group input:focus,
.payment-field-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.card-info-section {
    margin-bottom: 16px;
}

.card-info-section label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.stripe-card-element {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 8px;
}

.card-logos {
    display: flex;
    gap: 12px;
    align-items: center;
}

.card-logo {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 4px;
}

.address-fields {
    margin-top: 8px;
}

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

.address-row select {
    flex: 1;
}

.address-row input {
    flex: 1;
}

/* Show payment plan details when installments is selected */
.payment-plan-toggle input[value="installments"]:checked ~ .payment-plan-details {
    display: block;
}

.payment-plan-toggle input[value="installments"]:checked + .toggle-option + .payment-plan-details {
    display: block;
}

/* Payment Method Toggle */
.payment-method-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-method-option {
    flex: 1;
    cursor: pointer;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s;
    font-weight: 500;
    color: #374151;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1e40af;
}

.payment-method-label:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.payment-method-label svg {
    color: #6b7280;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label svg {
    color: #3b82f6;
}

/* ACH Payment Section */
.ach-info-section {
    margin-bottom: 16px;
}

.ach-info-text {
    margin: 12px 0 0 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.stripe-ach-element {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 8px;
}

.stripe-payment-element {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}

.stripe-payment-element:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Hidden class for payment method sections */
.hidden {
    display: none !important;
}

/* Payment method filtering */
.payment-method-option[style*="display: none"] {
    opacity: 0.5;
    pointer-events: none;
}

.payment-method-option.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f3f4f6;
    color: #9ca3af;
}

.payment-method-option.disabled .payment-method-label {
    color: #9ca3af;
}

.payment-method-option.disabled .payment-method-label svg {
    color: #9ca3af;
}

/* Payment method note */
.payment-method-note {
    margin-top: 12px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 6px;
    border-left: 4px solid #f59e0b;
}

.payment-method-note p {
    margin: 0;
    font-size: 0.875rem;
    color: #92400e;
}

/* Compact Purchaser Information */
.purchaser-info-compact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.purchaser-info-compact h4 {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

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

.compact-form-group {
    flex: 1;
}

.compact-form-group label {
    display: block;
    margin-bottom: 4px;
    color: #374151;
    font-weight: 500;
    font-size: 0.75rem;
}

.compact-form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.compact-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.purchaser-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.purchaser-info-card h3 {
    margin: 0 0 20px 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

.payment-plan-message {
  margin-bottom: 15px;
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
}

.ach-installment-message {
  background: #e8f4fd;
  border: 1px solid #b3d9ff;
  color: #0c4a6e;
  border-radius: 4px;
  padding: 12px;
}

.full-payment-message {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  border-radius: 4px;
  padding: 12px;
}

.installment-details {
  margin-top: 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}

.installment-schedule h5 {
  margin: 0 0 12px 0;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

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

.payment-number {
  font-weight: 600;
  color: #374151;
  min-width: 100px;
}

.payment-details {
  flex: 1;
  color: #6b7280;
  margin: 0 12px;
}

.payment-date {
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
}

.course-details {
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.course-details p {
  margin: 6px 0;
  color: #4b5563;
}

.course-summary-details {
  margin: 8px 0;
  padding: 10px;
  background: #f9fafb;
  border-radius: 4px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.course-summary-text {
  margin: 0;
}

.ach-notice {
  margin: 16px 0;
  padding: 12px 16px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  font-size: 14px;
}

.notice-content {
  color: #92400e;
  line-height: 1.4;
}

.form-help {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  font-style: italic;
}

.installment-breakdown {
  margin: 8px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid #3b82f6;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0;
  font-size: 13px;
}

.breakdown-label {
  color: #4b5563;
  font-weight: 500;
}

.breakdown-value {
  color: #1f2937;
  font-weight: 600;
}

.form-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 500;
}

.terms-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.terms-checkbox input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.terms-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
}

.terms-checkbox a {
    color: #3b82f6;
    text-decoration: underline;
}

.refund-policy {
    padding: 16px;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.refund-policy p {
    margin: 0;
    font-size: 0.9rem;
    color: #92400e;
}

/* Confirmation Page */
.confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-content {
    background: #fff;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin-bottom: 24px;
}

.confirmation-content h2 {
    color: #059669;
    font-size: 2rem;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.confirmation-message {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 32px;
}

.transaction-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.transaction-summary h3 {
    margin: 0 0 20px 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

.summary-details {
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-row .label {
    color: #6b7280;
    font-weight: 500;
}

.summary-row .value {
    color: #1f2937;
    font-weight: 600;
}

.next-steps {
    text-align: left;
    margin-bottom: 32px;
}

.next-steps h3 {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

.next-steps ul {
    margin: 0;
    padding-left: 20px;
    color: #6b7280;
}

.next-steps li {
    margin-bottom: 8px;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .confirmation-content {
        padding: 32px 20px;
    }

    .confirmation-actions {
        flex-direction: column;
        align-items: center;
    }

    .confirmation-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

.course-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: #f8f9fa;
    border: 3px solid #e1e5e9;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.course-card.selected {
    border-color: #4A90E2;
    background: rgba(74,144,226,0.05);
    box-shadow: 0 15px 35px rgba(74,144,226,0.2);
}

.course-card.selected::before {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4A90E2;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.course-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.course-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.course-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.course-price {
    font-size: 2rem;
    color: #4A90E2;
    font-weight: 700;
    margin-bottom: 15px;
}

.course-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pod-options {
    display: grid;
    gap: 15px;
}

.pod-option {
    position: relative;
}

.pod-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.pod-option label {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pod-option input[type="radio"]:checked + label {
    border-color: #4A90E2;
    background: rgba(74,144,226,0.05);
    box-shadow: 0 4px 15px rgba(74,144,226,0.1);
    position: relative;
}

.pod-option input[type="radio"]:checked + label::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4A90E2;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.pod-option label:hover {
    border-color: #4A90E2;
    background: rgba(74,144,226,0.02);
}

.pod-info h4 {
    color: #4A90E2;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.pod-info p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.pod-schedule {
    display: inline-block;
    background: #4A90E2;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1e5e9;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #4A90E2;
    color: white;
    box-shadow: 0 4px 15px rgba(74,144,226,0.3);
}

.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74,144,226,0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #4A90E2;
    color: #4A90E2;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.summary-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid #4A90E2;
}

.summary-card h4 {
    color: #4A90E2;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e1e5e9;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #4A90E2;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification.error {
    background: #e74c3c;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 15px;
}

.pod-selection-hidden {
    display: none;
}

.pod-selection-title {
    color: #4A90E2;
    margin: 30px 0 20px;
    font-size: 1.3rem;
}

.hidden {
    display: none !important;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    color: #666;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e1e5e9;
}

.stripe-element {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    transition: border-color 0.3s ease;
}

.stripe-element:focus {
    border-color: #4A90E2;
    outline: none;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4A90E2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .signup-form {
        padding: 30px 20px;
    }
    
    .bell-curves-hero h1 {
        font-size: 2.2rem;
    }
    
    .aces-logo img {
        height: 60px;
    }
    
    .course-selection {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .progress-step {
        margin: 0;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .progress-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .progress-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .form-progress {
        margin-bottom: 20px;
    }
    
    .progress-step {
        padding: 8px;
    }
    
    .progress-circle {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .progress-label {
        font-size: 12px;
    }
}
