.ticketwp-search-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%; /* Ensure the container spans the full width */
}

.ticketwp-date-range {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.ticketwp-date-wrapper {
    position: relative;
    flex: 1;
}

.ticketwp-date-input {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    outline: none;
    cursor: pointer; /* Indicate clickable for date picker */
}

/* Ensure placeholder and text styling matches search input */
.ticketwp-date-input,
.ticketwp-date-input::placeholder,
.ticketwp-search-input,
.ticketwp-search-input::placeholder {
    color: #333;
    background-color: #FFFFFF !important;
    font-size: 16px;
    border-radius: 4px;
}

.ticketwp-date-input:focus {
    border-color: #28a745;
}

.ticketwp-date-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    cursor: pointer; /* Indicate clickable for date picker */
}

.ticketwp-search-input-wrapper {
    position: relative;
    flex: 1;
}

.ticketwp-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    outline: none;
}

.ticketwp-search-input:focus {
    border-color: #28a745;
}

.ticketwp-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
}

.ticketwp-search-input-wrapper .ticketwp-search-input {
    padding-right: 40px;
}

.ticketwp-performer-venue-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ticketwp-performer-venue-search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ticketwp-performer-venue-search-results li {
    padding: 8px 12px;
    cursor: pointer;
}

.ticketwp-performer-venue-search-results .selected {
    background-color: #FFFFFF !important;
}

.ticketwp-performer-venue-search-results a {
    text-decoration: none;
}

.ticketwp-event-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ticketwp-event-search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ticketwp-event-search-results li {
    padding: 8px 12px;
    cursor: pointer;
}

.ticketwp-event-search-results .selected {
    background-color: #e0e0e0 !important;
}

.ticketwp-event-search-results a {
    text-decoration: none;
}

.ticketwp-search-button {
    border-style: solid;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.ticketwp-search-image {
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
}/* Custom styling for jQuery UI Datepicker */

.ui-datepicker {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0;
    width: 280px;
    font-family: Arial, sans-serif;
    z-index: 1000 !important;
}

.ui-datepicker-header {
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
}

.ui-datepicker-title {
    margin: 0;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Month and year display */
.ui-datepicker-month {
    font-weight: bold;
    margin-right: 5px;
}

.ui-datepicker-year {
    font-weight: bold;
}

/* Navigation arrows */
.ui-datepicker-prev,
.ui-datepicker-next {
    position: absolute;
    top: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #666;
    font-size: 22px; /* Larger text for arrows */
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.ui-datepicker-prev {
    left: 5px;
}

.ui-datepicker-next {
    right: 5px;
}

/* Hide the default span elements */
.ui-datepicker-prev span,
.ui-datepicker-next span {
    display: none;
}

/* Create text-based arrows
.ui-datepicker-prev:before {
    content: "<";
}

.ui-datepicker-next:before {
    content: ">";
}


/* Calendar table */
.ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

/* Day names row (Sun, Mon, etc.) */
.ui-datepicker th {
    padding: 8px 0;
    text-align: center;
    font-weight: normal;
    font-size: 14px;
    color: #333;
    border: none;
}

/* Day cells */
.ui-datepicker td {
    padding: 1px;
    text-align: center;
    border: none;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-size: 14px;
    margin: 0 auto;
    color: #333;
}

/* Default day state */
.ui-datepicker td a.ui-state-default {
    background: transparent;
    border: none;
}

/* Hover state */
.ui-datepicker td a.ui-state-hover {
    background: #f0f0f0;
}

/* Selected day - blue circle like in the image */
.ui-datepicker td a.ui-state-active,
.ui-datepicker td.ui-datepicker-current-day a {
    background: #4a90e2;
    color: #fff;
}

/* Today's date */
.ui-datepicker td.ui-datepicker-today a {
    background: #f2f2f2;
}

/* Specifically style day 13 with blue circle to match image */
.ui-datepicker td a.ui-state-highlight {
    background: #4a90e2;
    color: #fff;
}

/* Disabled dates */
.ui-datepicker-unselectable span {
    color: #ccc;
    opacity: 0.6;
}

/* Category headers for tagged search results */
.search-result-title {
    text-transform: capitalize;
    color: #333;
    background-color: #FFFFFF !important;
    font-weight: 900;
    font-size: 13px;
    padding: 6px 18px;
    line-height: 18px;
    border-left: 4px solid #007bff;
    cursor: default !important;
}


.search-result-title:hover {
    color: #333 !important;
    background-color: #FFFFFF !important;
}

/* Backwards compatibility with old class name */
.ticketwp-category-header {
    text-transform: capitalize;
    color: #999;
    font-weight: bold;
    font-size: 11px;
    padding: 5px 15px;
    line-height: 16px;
    cursor: default !important;
}

.ticketwp-category-header:hover {
    background: transparent !important;
    color: #999 !important;
}

.ticketwp-result-item {
    border-bottom: 1px solid #eee !important;
    border-left: 4px solid #007bff !important;
}

.ticketwp-result-item:last-child {
    border-bottom: none !important;
}