/* Discount Section Styling */
.discount-section {
    margin-bottom: 15px;
}

.discounts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.discount-button {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-family: inherit;
    white-space: nowrap;
}

.discount-button:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.discount-button.discount-active {
    border-color: #22c55e !important;
    background: #f0fdf4 !important;
    color: #15803d;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.discount-button.discount-active svg {
    fill: #22c55e;
}

.discount-button:active {
    transform: translateY(0);
}

.discount-button svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    flex-shrink: 0;
}

/* Price highlight when discount is applied */
.people_label small {
    transition: all 0.3s ease;
}

/* Responsive design for discounts */
@media (max-width: 768px) {
    .discounts-container {
        flex-direction: column;
    }

    .discount-button {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for price changes */
@keyframes priceChange {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.people_label small.price-updating {
    animation: priceChange 0.3s ease;
}

/* Booking Form Styling */
#wp-bp-booking-form {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#wp-bp-reservation-form {
    display: grid;
    gap: 15px;
}

#wp-bp-reservation-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

#wp-bp-reservation-form input[type="text"],
#wp-bp-reservation-form input[type="email"],
#wp-bp-reservation-form select,
#wp-bp-reservation-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

#wp-bp-reservation-form input[type="text"]:focus,
#wp-bp-reservation-form input[type="email"]:focus,
#wp-bp-reservation-form select:focus,
#wp-bp-reservation-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#wp-bp-reservation-form textarea {
    min-height: 80px;
    resize: vertical;
}

#wp-bp-reservation-form button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

#wp-bp-reservation-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#wp-bp-reservation-form button[type="submit"]:active {
    transform: translateY(0);
}

#wp-bp-reservation-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#wp-bp-reservation-form label input[type="checkbox"] {
    margin-right: 8px;
}

#invoiceData {
    margin-top: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

#priceDisplay {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    margin: 10px 0;
}

#priceValue {
    color: #667eea;
    font-size: 22px;
}

/* Read-only field styling */
#wp-bp-reservation-form select[disabled],
#wp-bp-reservation-form input[readonly] {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Booking form summary section */
.booking-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.booking-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #667eea;
    font-size: 16px;
}

.booking-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

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

.booking-summary .summary-value {
    color: #333;
    font-weight: 600;
}

/* Continue button styling */
.btn_continue_booking {
    animation: slideInUp 0.3s ease;
}

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

/* Form sections spacing */
#wp-bp-booking-form h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* Response messages */
#wp-bp-response {
    margin-top: 15px;
}

/* Submit button in slot form */
.button.btn_yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.button.btn_yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.button.btn_yellow:active {
    transform: translateY(0);
}

.button.btn_yellow:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
