@import "./variables";

vn-searchbar {
    display: block;
    max-width: 560px;
    margin: 0 auto;

    .search-params {
        flex: 1;
        margin: 1px 0;
        overflow: visible;
        display: flex;
        max-width: 384px;

        & > .search-param {
            color: rgba(0, 0, 0, .6);
            background-color: rgba(0, 0, 0, .1);
            padding: 1px 6px;
            margin-left: 3px;
            display: inline-block;
            border-radius: 12px;
            max-width: 192px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;

            & > vn-icon {
                font-size: inherit;
                vertical-align: middle;
                cursor: pointer;
                border-radius: 50%;

                &:hover {
                    color: rgba(0, 0, 0, .8);
                }
            }
        }
    }
}

.search-panel {
    max-height: 768px;

    & > form {
        padding: $spacing-lg;
    }

    & > form#manifold-form {
        padding: 0;

        .manifold-panel {
            border: $border-thin-light;
            border-radius: 5px;
            position: relative;
            text-align: right;

            .or {
                font-weight: bold;
                font-size: 26px;
                color: $color-font-secondary
            }

            vn-icon[icon="info"] {
                position: absolute; 
                top: 2px;
                right: 2px
            }
        }
    }
}