/* Search Field Styling */
.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
}

#searchField {
    width: 100%!important;
    padding: 10px 40px 10px 10px!important;
    border-radius: 20px!important;
    border: 1px solid #ccc!important;
    font-size: 16px!important;float: none;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#searchField:focus + .search-icon {
    transform: scale(1.1);
}

/* Suggestions Dropdown Styling */
#suggestion-box {
    background: white;
    border: 1px solid #ccc;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

#suggestion-box div {
    padding: 10px;
    cursor: pointer;
}

#suggestion-box div:hover {
    background-color: #f0f0f0;
}

/* Lightbox Styling */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox-content {
    background: white;
    width: 80%;
    height: 80%;
    padding: 20px;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
}

#close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: red;  /* Set close button color to red */
    font-weight: bold;
}

#close-lightbox:hover {
    color: darkred;  /* Darker red on hover */
}

/* Highlighting for search results */
.highlight {
    background-color: yellow;
}