/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #F7FAFC;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.banner-image {
    width: 100%;
    max-width: 600px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2C5282;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    color: #718096;
}

/* Privacy Notice */
.privacy-notice {
    background: #E6FFFA;
    border: 1px solid #38B2AC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.privacy-notice p {
    font-size: 14px;
    color: #2D3748;
}

/* Progress Steps */
.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    cursor: pointer;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #CBD5E0;
    z-index: 1;
}

.progress-step.active:not(:last-child)::after {
    background: #2C5282;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #CBD5E0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number {
    background: #2C5282;
}

.progress-step.completed .step-number {
    background: #38A169;
}

.progress-step span {
    font-size: 12px;
    text-align: center;
    color: #718096;
}

.progress-step.active span {
    color: #2C5282;
    font-weight: 600;
}

/* Form Styles */
#registrationForm {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.step-content {
    display: none;
    padding: 40px;
}

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

.step-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2C5282;
    margin-bottom: 20px;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 10px;
}

.price-info {
    background: #EDF2F7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.price {
    font-size: 18px;
    font-weight: 600;
    color: #2C5282;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2D3748;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2C5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #718096;
    font-size: 12px;
}

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

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

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

/* Info Box */
.info-box {
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-box p {
    font-weight: 600;
    margin-bottom: 10px;
    color: #C53030;
}

.info-box ul {
    margin-left: 20px;
    color: #2D3748;
}

.info-box li {
    margin-bottom: 5px;
}

/* Accommodation Section */
.accommodation-section h3 {
    font-size: 20px;
    font-weight: 500;
    color: #2C5282;
    margin-bottom: 20px;
}

.formula-card {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.formula-card:hover {
    border-color: #2C5282;
}

.formula-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.formula-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2C5282;
    margin-bottom: 10px;
}

.formula-card p {
    color: #718096;
    margin-bottom: 15px;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-options label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.price-options label:hover {
    background-color: #F7FAFC;
}

.price-options input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

.price-options input[type="radio"]:checked + span {
    font-weight: 600;
    color: #2C5282;
}

/* Additional Options Section */
.additional-options-section {
    background: #FFFBEB;
    border: 2px solid #F59E0B;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.additional-options-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #92400E;
    margin-bottom: 10px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.option-card {
    background: white;
    border: 2px solid #FDE68A;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #F59E0B;
}

.option-header label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #1F2937;
}

.option-price {
    font-size: 16px;
    font-weight: 700;
    color: #D97706;
    background: #FEF3C7;
    padding: 4px 12px;
    border-radius: 6px;
}

.option-description {
    margin: 8px 0 0 32px;
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
}

/* Room Partner Section */
.room-partner-section,
.transport-section {
    background: #F7FAFC;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.room-partner-section h3,
.transport-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C5282;
    margin-bottom: 20px;
}

.transport-group {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.transport-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 5px;
}

/* Summary Section */
.summary-section {
    background: #F7FAFC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

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

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

.summary-label {
    font-weight: 500;
    color: #2D3748;
}

.summary-value {
    font-weight: 600;
    color: #2C5282;
}

.total-section {
    background: #2C5282;
    color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.total-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.total-amount {
    font-size: 32px;
    font-weight: 700;
}

/* Payment Styles */
.payment-summary {
    background: #F7FAFC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.payment-summary h3 {
    font-size: 18px;
    color: #2D3748;
    margin-bottom: 10px;
}

.payment-total {
    font-size: 36px;
    font-weight: 700;
    color: #2C5282;
}

.payment-methods {
    margin-bottom: 30px;
}

.payment-methods h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2C5282;
    margin-bottom: 20px;
}

.payment-method-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-option {
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.payment-option:hover {
    border-color: #2C5282;
}

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

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: #2C5282;
    background-color: #EDF2F7;
}

.payment-label {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.payment-icon {
    width: 50px;
    height: 30px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
}

.payment-info {
    flex: 1;
}

.payment-name {
    display: block;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 5px;
}

.payment-desc {
    display: block;
    font-size: 14px;
    color: #718096;
}

.payment-form {
    display: none;
    background: #F7FAFC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.payment-form h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 15px;
}

.card-element-container {
    background: white;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    padding: 15px;
}

#card-element {
    padding: 10px 0;
}

#card-errors {
    color: #E53E3E;
    font-size: 14px;
    margin-top: 10px;
}

#paypal-button-container {
    margin-top: 10px;
}

.payment-security {
    background: #E6FFFA;
    border: 1px solid #38B2AC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.security-info {
    display: flex;
    align-items: center;
}

.security-icon {
    font-size: 24px;
    margin-right: 15px;
}

.security-info strong {
    display: block;
    color: #2D3748;
    margin-bottom: 5px;
}

.security-info p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background: #E2E8F0;
    color: #2D3748;
}

.btn-prev:hover {
    background: #CBD5E0;
}

.btn-next,
.btn-submit {
    background: #2C5282;
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background: #2A4365;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.btn-submit {
    background: #38A169;
}

.btn-submit:hover {
    background: #2F855A;
}

.btn-submit:disabled {
    background: #CBD5E0;
    color: #718096;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Validation Styles */
.form-group.error input,
.form-group.error select {
    border-color: #E53E3E;
}

.form-group.error .error-message {
    color: #E53E3E;
    font-size: 12px;
    margin-top: 5px;
}

.form-group.success input,
.form-group.success select {
    border-color: #38A169;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .progress-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .price-options {
        gap: 5px;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
    
    .payment-method-selection {
        gap: 10px;
    }
    
    .payment-label {
        padding: 15px;
    }
    
    .payment-total {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 11px;
    }
    
    .step-content h2 {
        font-size: 20px;
    }
    
    .total-amount {
        font-size: 24px;
    }
    
    .payment-total {
        font-size: 24px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0AEC0;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E0 #F1F5F9;
}