.group-booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.group-booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.group-booking-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.group-booking-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin: 0;
}

.group-discount-info {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.group-discount-info h3 {
    color: #0c5460;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    background: #17a2b8;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.group-discount-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-discount-info li {
    color: #0c5460;
    margin-bottom: 8px;
    font-weight: 500;
}

.booking-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 30px;
}

.booking-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.booking-details h3 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.participant-counter {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #3498db;
    background: white;
    color: #3498db;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: #3498db;
    color: white;
}

.participant-counter input {
    width: 80px;
    text-align: center;
    margin: 0;
}

.manual-entry-text {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 10px 0 8px 0;
}

.booking-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-summary h3 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

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

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

.total-row {
    border-top: 2px solid #e9ecef;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 1.1rem;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.submit-btn:hover:not(:disabled) {
    background: #e67e22;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.payment-methods {
    display: flex;
    margin-bottom: 20px;
}

.payment-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.payment-btn:hover {
    background: #2980b9;
}

#payment-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

#payment-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

#loading {
    text-align: center;
    color: #3498db;
    font-weight: 500;
    margin-top: 15px;
}

#message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    display: none;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .booking-form-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .group-booking-header h2 {
        font-size: 2rem;
    }
    
    .booking-details,
    .booking-summary {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-methods {
        flex-direction: column;
    }
}

/* Animation for smooth transitions */
.form-group input,
.form-group select,
.submit-btn,
.payment-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for better accessibility */
.form-group input:focus,
.form-group select:focus,
.submit-btn:focus,
.payment-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Hover effects for interactive elements */
.counter-btn:hover,
.submit-btn:hover:not(:disabled),
.payment-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Stripe Elements Styling */
.stripe-card-element {
    background: white;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stripe-card-element:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.stripe-errors:empty {
    display: none;
}