.ticket-booking-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.ticket-booking-form {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-option-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bde-background-color);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.toggle-label input[type="radio"] {
    margin-right: 8px;
}

.form-fields {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

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

.field-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.field-group select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    width: 100%;
    background-color: #fff;
}

.field-group input:not([type="number"]) {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    width: 100%;
    background-color: #fff;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: #0073aa;
}

/* Number input with plus/minus buttons */
.number-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.number-input-wrapper input[type="number"] {
    flex: 1;
    padding: 10px 12px;
    border: none;
    font-size: 16px;
    text-align: center;
    width: 100%;
    background-color: transparent;
    -moz-appearance: textfield; /* Remove spinner Firefox */
}

/* Remove spinner Chrome, Safari, Edge */
.number-input-wrapper input[type="number"]::-webkit-outer-spin-button,
.number-input-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input-wrapper button {
    width: 45px;
    height: 42px;
    border: none;
    background-color: #1e4970;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.number-input-wrapper button:hover:not(:disabled) {
    background-color: #163a5a;
}

.number-input-wrapper button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.number-input-wrapper button.number-decrement {
    border-right: 1px solid #ddd;
}

.number-input-wrapper button.number-increment {
    border-left: 1px solid #ddd;
}

.number-input-wrapper:focus-within {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.age-caption {
    color: #333;
    font-style: italic;
}

.price-display {
    background: var(--bde-background-color);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.price-row.adult-subtotal,
.price-row.child-subtotal {
    color: #555;
    font-size: 14px;
}

.price-row.subtotal-divider {
    margin: 10px 0;
    padding: 0;
}

.price-row.subtotal-divider hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0;
}

.price-row.subtotal {
    font-weight: 600;
    margin-top: 10px;
}

.price-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    font-size: 18px;
    font-weight: bold;
}

.price-row.discount {
    color: #22a722;
}

.price-row.deposit-info {
    color: #666;
    font-size: 14px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover:not(:disabled) {
    background: #005a87;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Checkout Section */
.checkout-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}

.checkout-section .woocommerce {
    margin: 0;
}

.checkout-section .woocommerce-checkout {
    margin: 0;
}

.checkout-section h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
}

.checkout-section .woocommerce-billing-fields h3,
.checkout-section .woocommerce-shipping-fields h3 {
    margin-top: 0;
}

.checkout-section .form-row {
    margin-bottom: 15px;
}

.checkout-section .woocommerce-checkout-review-order {
    background: var(--bde-background-color);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.checkout-section .woocommerce-checkout-review-order-table {
    margin: 0;
}

/* Due on Arrival styling */
.due-on-arrival th,
.due-on-arrival td {
    color: #e67e22;
    font-weight: 600;
    font-style: italic;
}

.deposit-discount-note {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #666;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .ticket-booking-form-wrapper {
        padding: 10px;
    }
    
    .ticket-booking-form {
        padding: 20px;
    }
    
    .payment-option-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkout-section {
        padding: 20px;
        margin-top: 30px;
    }
}