/* 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: 0px;
    padding: 16px;
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

#wp-bp-reservation-form label {
    display: block;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: -2px;
    color: #FFD371;
}

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

#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(180deg, #FFDF80 0%, #FB9B15 100%);
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px #FFEFCA solid;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
}

#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: #FFFFFF;
    padding: 8px 12px 12px 20px;
    background: #2D5D06;
    border-radius: 3px;
    border-left: 4px solid #50ED04;
    margin: 10px 0;
}

#priceValue {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 700;
}

/* 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: #D8D8D8;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #858585;
    font-size: 18px;
    font-weight: 500;
}

/* 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;
}
