[cmdk-overlay] {
    background-color: rgba(0, 0, 0, 0.2);
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: all !important;
    z-index: 2;
}

[cmdk-root] {
    position: fixed;
    --cmdk-width: min(600px, 100vw - 40px);
    top: 10vh;
    left: calc(50% - var(--cmdk-width) / 2);
    width: var(--cmdk-width);
    border-radius: 5px;
    padding: 10px;
    outline: none;
    z-index: 3;
    box-sizing: border-box;
}

[cmdk-list] {
    max-height: 200px;
    overflow-y: scroll;
    padding-right: 6px;
}

[cmdk-list]::-webkit-scrollbar {
    width: 6px;
}
[cmdk-list]::-webkit-scrollbar-track {
    background: transparent;
}
[cmdk-list]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    width: 5px;
    border: transparent;
}

[cmdk-input] {
    width: calc(var(--cmdk-width) - 20px);
    box-sizing: border-box;
    padding: 6px 10px;
    outline: none;
    border: none;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Droid Sans Mono", "monospace", monospace;
}

[cmdk-input]::placeholder {
    color: var(--color);
    opacity: 0.5;
}

[cmdk-item], [cmdk-empty] {
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 5px;
    margin-top: 3px;
    font-family: "Droid Sans Mono", "monospace", monospace;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
}

[cmdk-item]:hover {
    background-color: rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
#selected-option {
    background-color: var(--accent);
    display: inline-block;
    height: 5px;
    width: 5px;
    border-radius: 2.5px;
    align-self: center;
    margin-right: 5px;
}

[cmdk-item][data-selected='true'] {
    background-color: rgba(0, 0, 0, 0.1);
}

.emoticon {
    font-family: 'Courier New', Courier, monospace;
}
