.wk-slash-command-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 10;
    margin-bottom: 4px;
    padding: 4px 0;
}

body[theme-mode=dark] .wk-slash-command-menu {
    background-color: var(--wk-color-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.wk-slash-command-menu-header {
    padding: 6px 12px;
    font-size: 12px;
    color: #8f959e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body[theme-mode=dark] .wk-slash-command-menu-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.wk-slash-command-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wk-slash-command-item:hover,
.wk-slash-command-item-active {
    background-color: #f0f1f3;
}

body[theme-mode=dark] .wk-slash-command-item:hover,
body[theme-mode=dark] .wk-slash-command-item-active {
    background-color: var(--wk-color-secondary-2);
}

.wk-slash-command-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

body[theme-mode=dark] .wk-slash-command-name {
    color: #e0e0e0;
}

.wk-slash-command-desc {
    font-size: 12px;
    color: #8f959e;
}

.wk-slash-command-empty {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: #8f959e;
}
