/* Search box container */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bs-light);
    border-radius: 2rem;
    padding: 4px 4px 4px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--bs-primary);
    min-width: 23rem; /* In order to fit the placeholder */
}

    .search-box .search-input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 14px;
        color: var(--bs-primary);
    }

    /* Icon */
    .search-box .search-icon {
        background-color: var(--bs-primary);
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* SVG centered and scaled */
        .search-box .search-icon .icon {
            width: 20px;
            height: 20px;
            stroke: white;
            stroke-width: 2;
            fill: none;
        }

.search-results {
    display: none;
    position: absolute;
    background-color: var(--bs-light);
    margin: 0.25rem 0.25rem;
    padding: 1rem;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border-radius: 1rem;
    border: 2px solid var(--bs-primary);
}

    .search-results:has(.item) {
        display: block;
    }

    .search-results .item {
        width: fit-content;
    }

        .search-results .item a {
            color: var(--bs-primary);
        }
