/* product-search.css */

/* Container Styling */
.product-search-container {
    max-width: 800px; /* Increased width to accommodate inline elements */
    margin: 0 auto;
    position: relative;
    padding: 20px; /* Added padding for better spacing */
    background-color: #f9f9f9; /* Light background for contrast */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 5px; /* Rounded corners */
}

/* Form Styling */
.product-search-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 15px; /* Space between form items */
    justify-content: center;
}

/* Form Item Styling */
.product-search-form .form-item {
    display: flex;
    align-items: center;
}

/* Label Styling */
.product-search-form .form-item label {
    margin-right: 10px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
}

/* Input Fields Styling */
.product-search-form .form-item input[type="text"] {
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 4px; /* Rounded corners */
    width: 200px; /* Fixed width for consistency */
    cursor: pointer;
}

/* Overnight Stay Checkbox Styling */
.product-search-form .form-item.overnight-stay-label {
    display: flex;
    align-items: center;
}

.product-search-form .form-item.overnight-stay-label input[type="checkbox"] {
    margin-right: 5px; /* Space between checkbox and label text */
}

/* Responsive Design */
@media (max-width: 800px) {
    .product-search-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-search-form .form-item {
        width: 100%;
    }

    .product-search-form .form-item input[type="text"] {
        width: 100%;
    }

    .product-search-form .form-item button[type="submit"] {
        width: 100%;
    }
}



.ui-datepicker-header {
    text-transform: none;
    border-radius: 0;
    background-color: #000;
    background-image: none;
    color: #fff;
    border: 1px solid #000;
}

.ui-datepicker-title {
    font-weight: var(--preset-id-3ef78e8d-5ada-4d26-a79d-46ef4b4aa243-font-weight);
    line-height: var(--preset-id-3ef78e8d-5ada-4d26-a79d-46ef4b4aa243-line-height);
    letter-spacing: var(--preset-id-3ef78e8d-5ada-4d26-a79d-46ef4b4aa243-letter-spacing);
    word-spacing: var(--preset-id-3ef78e8d-5ada-4d26-a79d-46ef4b4aa243-word-spacing);
    text-transform: var(--preset-id-3ef78e8d-5ada-4d26-a79d-46ef4b4aa243-text-transform);
    font-family: var(--bde-heading-font-family);
    font-size: 16px;
}

.ui-datepicker td {
    border: 1px solid #cccccc;
}

.ui-datepicker-prev, 
.ui-datepicker-next,
.ui-datepicker-prev.ui-state-hover,
.ui-datepicker-next.ui-state-hover {
    background: #000;
}

td.ui-state-disabled {
    opacity: 1;
    filter: alpha(opacity=100);
    background: #f7f7f7 !important;
}

td.ui-datepicker-other-month {
    background: #bbdceb;
    opacity: 0.55 !important;
}

td a.ui-state-active, 
td a.ui-state-active.ui-state-hover {
    color: #fff !important;
}

.ui-datepicker th {
    font-size: 14px;
}

.ui-datepicker td .ui-state-default {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}

.ui-widget-content {
    border: 2px solid;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}
.ui-datepicker th {
    padding: .75em 0;
    text-transform: uppercase;
    color: #bbb;
    font-weight: normal;
    border-top: 1px solid #e6e6e6;
    background: #fefefe;
    display: table-cell;
}
.ui-datepicker td .ui-state-default {
    background: rgba(0, 0, 0, 0);
    background-image: none !important;
    border: none;
    color: #2b2b2b;
    margin: 0;
    font-weight: normal;
    text-align: center;
    padding: .75em 0;
}

.ui-widget-header .ui-icon {
    background-image: url(/wp-content/themes/bdt/assets/img/ui-icons.png);
}
.ui-icon-circle-triangle-e {
    background-position: -32px 0;
}
.ui-icon-circle-triangle-w {
    background-position: -96px 0;
}

.ui-datepicker .ui-datepicker-next {
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-next:hover {
    right: 2px;
    top: 2px;
    border: 0;
}
.ui-datepicker .ui-datepicker-prev {
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev:hover {
    left: 2px;
    top: 2px;
    border: 0; 
}