/* Tour Booking Fields Plugin Styles */
.tour-booking-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
}

/* Style WooCommerce variation dropdown */
.variations {
    margin-bottom: 20px;
}

.variations tr {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.variations td.label {
    padding-right: 10px;
    width: auto;
}

.variations td.label label {
    font-size: 1em;
    font-weight: 600;
    color: #333;
}

.variations td.value {
    flex: 1;
}

.variations select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
    cursor: pointer;
}

.variations select:focus {
    outline: none;
    border-color: #007cba;
}

.price-header {
    margin-bottom: 20px;
}

.price-starting {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.per-adult {
    font-size: 0.9em;
    color: #666;
}

.booking-selection h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.selection-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.date-field {
    flex: 1;
}

.date-field input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
    cursor: pointer;
}

.date-field input:focus {
    outline: none;
    border-color: #007cba;
}

.time-field {
    flex: 1;
}

.time-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
    cursor: pointer;
}

.time-field select:focus {
    outline: none;
    border-color: #007cba;
}

.travelers-field {
    min-width: 120px;
}

.travelers-counter {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    min-width: 120px;
}

.travelers-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin: 0 8px;
}

.travelers-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.travelers-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.travelers-icon svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    filter: grayscale(100%);
}

.travelers-count {
    font-weight: 600;
    color: #333;
    margin: 0 8px;
}

.policy-info {
    background-color: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.policy-item:last-child {
    margin-bottom: 0;
}

.policy-icon {
    margin-right: 10px;
    font-size: 1.1em;
    flex-shrink: 0;
}

.policy-text {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.tour-details {
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
}

.tour-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.radio-button {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
}

.radio-button.selected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
}

.tour-content {
    flex: 1;
}

.tour-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.tour-pricing {
    margin-top: 15px;
}

.tour-price-line {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.total-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.total-label {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.total-amount {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.price-note {
    font-size: 0.8em;
    color: #999;
}

.button-field {
    flex: 1;
}

.single_add_to_cart_button {
    background-color: #f0c14b !important;
    color: #111 !important;
    border: 2px solid #ddd !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    width: 100% !important;
    text-align: center !important;
    font-weight: bold !important;
    font-size: 1em !important;
    cursor: pointer !important;
    margin-top: 0 !important;
}

.single_add_to_cart_button:hover {
    background-color: #ddb347 !important;
}

.ui-datepicker-calendar .ui-state-disabled {
    background-color: #f0f0f0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
}

/* Hide default WooCommerce quantity field */
.quantity {
    display: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .selection-row {
        flex-direction: column;
    }
    .date-field {
        width: 100%;
    }
    .time-field {
        width: 100%;
    }
    .travelers-field {
        width: 100%;
        min-width: auto;
    }
    .travelers-counter {
        min-width: auto;
        width: 100%;
    }
    .tour-details {
        width: 100%;
    }
    .button-field {
        width: 100%;
    }
    .variations tr {
        flex-direction: column;
        align-items: flex-start;
    }
    .variations td.label {
        padding-right: 0;
        margin-bottom: 5px;
    }
    .variations td.value {
        width: 100%;
    }
} 

button.travelers-btn {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 8px;
    margin: 0px;
    text-align: center;
    font-size: 16px;
    line-height: 8px;
}

button.travelers-btn:hover,button.travelers-btn:focus {
    background: #007cba;
    color: #fff;
    border: 1px solid #000;
    padding: 8px;
    margin: 0px;
    text-align: center;
    font-size: 16px;
    line-height: 8px;
}
