.search-bar-container
{
    margin: auto;
    justify-content: center;
    max-width: 30em;
    width: 100%;
    display: flex;
	line-height: 1.5em;
    font-size: 1.7rem;
    position: relative;
}
.search-bar-container .loading
{
    height: 40px;
    width: 40px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: unset;
    margin-right: unset;
    right: -50px;
    left: unset;
    display: none;
}

.search-bar-container input
{
    color: #f1f1f1;
	background: #3d3d3d;
    box-shadow: 0 0 0 0.1em #3d3d3d inset;
    border-radius: 0.375em 0 0 0.375em;
    padding: 0.75em;
    appearance: none;
    width: 100%;
    height: 2.5em;
    font-size: inherit;
}

.search-bar-container .search-btn
{
	background: var(--main-color);
    border-radius: 0 0.375em 0.375em 0;
    padding: 0.75em;
    position: relative;
    cursor: pointer;
    width: 2.5em;
    height: 2.5em;
    font-size: inherit;
}

.search-bar-container .search-btn span
{
    display: inline-block;
    overflow: hidden;
    width: 1px;
    height: 1px;
}

.search-bar-container .search-btn::before, .search-icon::before
{
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 0 0.15em #f1f1f1 inset;
    top: 25%;
    left: 25%;
    width: 40%;
    height: 40%;
}
.search-bar-container .search-btn::after, .search-icon::after
{
    content: "";
    display: block;
    position: absolute;
    background: #f1f1f1;
    border-radius: 0 0.25em 0.25em 0;
    top: 51%;
    left: 51%;
    width: 25%;
    height: 7%;
    transform: translate(0.2em,0) rotate(45deg);
    transform-origin: 0 50%;
}

.search-bar-container input::-webkit-search-cancel-button
{
    -webkit-appearance: none;
    background-color: var(--color-light);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
    background-size: 1.3em;
    height: 1.3em;
    width: 1.3em;
    margin: 0 0 0 0.5em;
    cursor: pointer;
}

.options-container
{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color-light);
    z-index: 1;
    display: none;
}
.options-container .option
{
    text-overflow: ellipsis;
    text-wrap: nowrap;
    border-radius: 0.375em 0.375em 0.375em 0.375em;
    padding: 7px 15px;
    cursor: pointer;
    border: 1px solid #999;
    margin-bottom: -1px;
    color: var(--color);
    display: flex;
    align-items: center;
}
.options-container .option:hover
{
    filter: brightness(1.2);
}

.options-container .option img
{
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.options-container .option .name
{
    width: 150px;
}
.options-container .option .type
{
    width: 100px;
    height: 30px;
}
.options-container .option .type2, .options-container .option .category
{
    margin-left: 5px;
}

.options-container .option .effect
{
    text-overflow: ellipsis;
    overflow: hidden;
    width: calc(100% - 150px);
}
