.highlight-error {
    background-color: #ffcccc !important;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.pagination a.active {
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.search-results {
    display: none; /* Hide by default */
    position: absolute; /* This makes it appear below the input field */
    top: 100%;  /* Position it below the search box */
    left: 0;
    width: 100%; /* Ensure the results container spans the full width of the input */
    background-color: white; /* White background for the dropdown */
    border: 1px solid #ccc; /* Light border for visibility */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-height: 300px; /* Limit the height */
    overflow-y: auto; /* Add scroll if results overflow */
    z-index: 1000; /* Ensure it appears on top of other content */
}

.search-result {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
}

.search-result div:first-child {
    font-weight: bold;
}

.search-result div:nth-child(2) {
    font-style: italic;
    color: #666;
}

.search-result:hover {
    background-color: #f0f0f0;
}

.search-results.active {
    display: block; /* Only show when the list has content */
}

#home-driver-search {
    font-size: 32px;        /* Double the font size */
    height: 60px;           /* Increase the height */
    padding: 10px;          /* Adjust padding to ensure proper spacing inside */
    width: 100%;            /* Make it take full width of the container */
    border: 1px solid #ccc;/* Border for styling */
    border-radius: 4px;     /* Rounded corners */
    box-sizing: border-box; /* Include padding in width/height calculation */
}

#home-driver-search::placeholder {
    font-style: italic;  /* Italicizes the placeholder text */
}

.single-dirtstats_driver .post-navigation {
    display: none;
}