#search-container {
    min-height: 475px;
    display: flex;
    flex-direction: column;
}

#search-container-title {
    font-size: 1.3rem;
    margin-bottom: 0;
}

#search-container-subtitle {
    font-size: 18px;
}
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.625rem;
}

.search-icon {
    position: absolute;
    z-index: 3;
    left: 10px;
    width: 16px;
    height: 16px;
    background: url('../assets/icons/magnifying-glass.svg') no-repeat center center;
    background-size: 16px 16px;
}

.loading-spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto; /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



#service-search {
    -webkit-box-align: center;
    align-items: center;
    cursor: inherit;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    min-height: 38px;
    position: relative;
    transition: 100ms;
    background-color: rgb(255, 255, 255);
    border-color: #cccccc;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    height: 3.125rem;
    z-index: 2;
    outline: 0px !important;
    padding: 0 1.5rem;
    padding-left: 35px;
}

#service-search:hover {
    border-color: #6c6c6c;
}

#service-search:focus {
    border-color: #0c9299;
    box-shadow: #0c9299 0 0 1px;
    border-width: 1.7px;
}

#service-list {
    max-height: 17rem;
    overflow-y: auto;
    list-style: none;
    padding-left: 0;
}

/* Webkit-based browsers (Chrome, Edge, Safari) */
#service-list::-webkit-scrollbar {
    width: 8px;
}

#service-list::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

#service-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

#service-list li {
    padding: 5px 0 5px 8px;
    cursor: pointer;
}

#service-list li:hover {
    background: #cde9ec;
}

#service-list li a {
    line-height: 1.6;
    font-size: 1.0875rem;
    color: black;
}

#service-list li a:hover {
    color: black;
}

#service-list li.highlight {
    background-color: #cde9ec;
    color: #000;
}

#service-list .no-results:hover {
    background: white !important;
}

#search-footer {
    margin-top: auto;
    align-self: flex-end;
    width: 100%;
}

#button-container {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#button-container button {
    width: 47%
}

#button-container .learn-more, .no-results-button-container .industries  {
    color: #333;
    border: 2px solid #333;
    font-weight: 600;
    background-color: white;
}

#button-container .learn-more:hover, .no-results-button-container .industries:hover  {
    background-color: #cee1e8;
}

#button-container .quote, .no-results-button-container .contact  {
    color: white;
    border: 2px solid #42abae;
    background-color: #42abae;
    font-weight: 600;
}

#button-container .quote:hover, .no-results-button-container .contact:hover  {
    background-color: #0c9399;
    border-color: #0c9399;
}

#search-footer-text {
    border-top : 2px solid #ccc;
    padding-top: 0.625rem;
    margin: 0;
    text-align: center;
}

#search-footer-text span {
    border-bottom: 2px solid #0c9299;
    padding-bottom: 2px;
}

#search-footer-text a {
    color: #0c9299;
}

@media only screen and (max-width: 350px) {
    #button-container button {
        padding: 0.5rem;
    }
}